![]() ![]() The latter just feels really tied to earlier-API paradigms.I am using the tutorial on AndroidHive for expandablelistview and i want to populate it from a sqlite table. ![]() I once tried to rework an SQLite-based expandable list into a RealmDB backend and it turned out to be a lot of work since BaseExpandableListAdapter seems like it was designed around the notion of strictly ordered, cursor-like datasets.Ĭome to think on it, you might even consider sitting down with the dataset and seeing if you could use a very custom RecyclerView rather than an ExpandableListView. Because so much in the adapter is done in an indexed fashion (look at how often group ID and child ID are used), ordering matters a ton. It differs from a ListView by allowing two levels which are groups that can be easily expanded and collapsed by touching to view and their respective children items. I say this mostly because implementing your subclass of BaseExpandableListAdapter can turn out to be somewhat complicated depending on your edge cases.Įven before you decide on a storage engine, it might be a good idea to sit down with your dataset and put a lot of thought into your object model. Android ExpandableListView is a view that shows items in a vertically scrolling two-level list. Android ExpandableListView is a view that shows items in a vertically scrolling two-level list. Pretty much whatever DB you are most comfortable with using in a general sense. It’s sort of menu and submenus in a Android ListView. ![]() Material Design Icons Weekly Threads Calendar ![]() For news and questions about these topics try using other subs likeĪndroid Job Interview Questions and Answers This sub-reddit isn't about phones' and apps' general functionality, support, or system software development (ROMs). News for Android app developers with the who, what, where, when, and how of the Android community. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |