I have a problem when I am creating a custom renderer on android for a ListView. The renderer is a ViewRenderer<ListView, ListView>. Then in OnElementChanged create an instance of Android.Widgets.ListView, set its adapter and go. Everything is fine except if I don't provide ItemsSource at OnElementChanged time. If I set those later on (I assign a new Adapter to ListVIew) nothing is shown. I assume that's happening because ListView is initially shrinked and later on it doesn't detect the new size. Any idea?
↧