Skip to content Skip to sidebar Skip to footer

Arrayadapter And Listview Display Only Specific Items

I am trying to impement a school planner app. There is a timetable overview implemented as a ListView for each day wrapped into a Tab Layout. So the user can switch between days Mo

Solution 1:

Instead of using ArrayAdapter, use SimpleAdapter. It is far more flexible for what you want to display. Second keep your ArrayList of all the appointments out of the Adapter, create some sort of filtering method to copy applicable objects and pass this new list to the SimpleAdapter.


Post a Comment for "Arrayadapter And Listview Display Only Specific Items"