I've read a few post and I'd like to confirm my observation.
On sim, then there is more then 1 df layout onLayout is called every second. But why? Is it an error? If I have 2 df it should call twice for 2 df not every second...
I tried to put 2 the same custom df and watch didn't allow for it, even if df was on different pages. First I had to remove df to can put it in another place. It means that it's impossible to have 2 the same custom df.
So, can I assume that onLayout is called once on device?
Second thing. I can obtain width and height of df but how to obtain locX and locY, especial for different devices. Should I calculate it based on OBSCURE_* flag?