Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need get and set methods for Items #7

Open
SachinTanpure opened this issue Feb 8, 2017 · 3 comments
Open

Need get and set methods for Items #7

SachinTanpure opened this issue Feb 8, 2017 · 3 comments

Comments

@SachinTanpure
Copy link

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
Copy link
Owner

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

@alexissinglaire
Copy link

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants