Which method should I override to be guaranteed to always get the correct size of a view?
I tried onSizeChanged and onLayout but it seems to me that when views are recycled inside the listView those methods are not always called.
So is there any better way to be notified of the current view size?
You can override the methods onMeasure and onLayout. These methods are called whenever something happens in layout (a focus change, a resize of an element, ecc..)