diegodobelo / AndroidExpandingViewLibrary

This is a library to help creating expanding views with animation in Android
942 stars 120 forks source link

Need get and set methods for Items #7

Open SachinTanpure opened 7 years ago

SachinTanpure commented 7 years ago

Hi i need to update data in Item, after view is created. How could i do it? Is there any get and set method to update item runtime?

diegodobelo commented 7 years ago

Hi @SachinTanpure , I created a method to get items by index in ExpandingList. mExpandingList.getItemByIndex()

alexissinglaire commented 5 years ago

Hi @diegodobelo, how to get the item text? let say i have item with text 'bus stop 1234' and subitems which is 'bus 1', 'bus 2' and so on.

diegodobelo commented 5 years ago

@alexissinglaire try to use findViewById. like, TextView myText = item.findViewById(...).getText()