Page 43 - Xamarin Android Application Development
P. 43
ListView 39
In the above GetView method from the custom adapter class, finding out the TextView and assigns
the text to it. Also the ImageView’s image is changed. Assume that you have added two different
images for the flag display. The Resource is set by using the SetImageResource method.
The above output consists of the selective image display based on the condition check.
Conclusion
In this chapter we have seen ListVIew specifically. Different scenarios with ListView were presented
with their solution approach.

