Hello Friends,
In Android there are many types of listview available. Here I presented all major types of listview example with this post.
Types of Listview I include in this examples are:
1) Simple Listview :
--> In this type you can see simple list of items with auto scrolling.
2) Listview with single choice :
--> When you use single choice in listview then you can see the items with radio button. You can select only one option from list and do the further use in your app.
3) Listview with multiple choice :
--> When you use multiple choice in listview then you can see the items with check box. You can select multiple items from the list and do the further use in your app.
4) Filterable Listview :
--> In filterable listview you can filter items which are start on same letter then select any one of them with simple click.
5) Listview with Images and Text :
--> Here you can display images and its relevant text into listview.
6) Dynamically add items into listview :
--> If you don't want to use fix item into listview then you can add your own items dynamically into listview using this option.
7) Delete selected items from listview :
--> If you want to remove some items from listview then its easy to do it with this option.
For more details see the screen shots and demo code.
Output:
Download full source code from here. ListviewDemo
Happy Coding...!!!
In Android there are many types of listview available. Here I presented all major types of listview example with this post.
Types of Listview I include in this examples are:
1) Simple Listview :
--> In this type you can see simple list of items with auto scrolling.
2) Listview with single choice :
--> When you use single choice in listview then you can see the items with radio button. You can select only one option from list and do the further use in your app.
3) Listview with multiple choice :
--> When you use multiple choice in listview then you can see the items with check box. You can select multiple items from the list and do the further use in your app.
4) Filterable Listview :
--> In filterable listview you can filter items which are start on same letter then select any one of them with simple click.
5) Listview with Images and Text :
--> Here you can display images and its relevant text into listview.
6) Dynamically add items into listview :
--> If you don't want to use fix item into listview then you can add your own items dynamically into listview using this option.
7) Delete selected items from listview :
--> If you want to remove some items from listview then its easy to do it with this option.
For more details see the screen shots and demo code.
Output:
Download full source code from here. ListviewDemo
Happy Coding...!!!
No comments:
Post a Comment