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

Using different view widgets #58

Closed
ddk9499 opened this issue Feb 16, 2018 · 1 comment
Closed

Using different view widgets #58

ddk9499 opened this issue Feb 16, 2018 · 1 comment
Labels

Comments

@ddk9499
Copy link

ddk9499 commented Feb 16, 2018

Hi! How to use different Views in one table?
In the example below, in Student name column, i want to use TextView, but in Score and Comment i want to use EditText. how to realize this?
image

@ddk9499 ddk9499 changed the title using Using different view widgets Feb 16, 2018
@jeremy-ingenuity
Copy link
Contributor

Hi @ddk9499 , you can achieve that by creating a different ViewHolder for each type of cell (StudentNameViewHolder w/ TextView, ScoreViewHolder w/ EditText and CommentViewHolder w/ EditText), see #41 for the answer. Hope it helps.

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

No branches or pull requests

3 participants