Page 33 - Xamarin Android Application Development
P. 33

ListView                                                                                    29























               To use the above method, we need to call it, just after you assign adapter of the ListView.


































               Now, the above output looks fixed. The ScrollBar is still in the middle, that means we have some
               items to display from the ListView.
               A quick note though, this has been tested with Android 4.0 and above, the results were successful.



               Selective ListActivity



               In Activity chapter, we had a glance to look at the ListActivity, also in this chapter we have seen a
               selective ListView. Now we would combine it and provide a selective ListActivity.
   28   29   30   31   32   33   34   35   36   37   38