After investigating the fab attachment strategy in Attest as per present implementation it is my understanding that is best to attach the fab to each view individually in onCreate or in case of Fragments onCreateView can be used (The way it is implemented).
I tried the following ways:
Tried to get ActivityManager and from that get method which gives view and then observe on it.
The problem with this approach is that ActivityManager does not expose the methods to access view
Tried to implement it using Window Manager like the way it is done in Axe Android App.
This will give away the view which again becomes a problem.
After investigating the fab attachment strategy in Attest as per present implementation it is my understanding that is best to attach the fab to each view individually in onCreate or in case of Fragments onCreateView can be used (The way it is implemented).
I tried the following ways:
Tried to get ActivityManager and from that get method which gives view and then observe on it. The problem with this approach is that ActivityManager does not expose the methods to access view
Tried to implement it using Window Manager like the way it is done in Axe Android App. This will give away the view which again becomes a problem.