Answer the question
In order to leave comments, you need to log in
android listview. How to make it so that when you click on an item, its content is replaced by a couple of buttons?
Actually the essence of the question is in the title, please tell me how it can be done approximately or throw a link to an example / library
Answer the question
In order to leave comments, you need to log in
Did you mean that item will contain 2 buttons when clicked?
You can create a markup file for item containing these 2 invisible buttons.
Further, when displaying in the getView(.......){} method, get a link to these buttons and make them visible.
The bad news is that all list items will contain these invisible buttons.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question