android - ListView and Buttons inside ListView -
After
I want to display a button
inside ListView
. The goal should be to click on the ListView
line or button.
Click on the line, it shows more information, click on the button it appears on the bottom and the button.
The same as the Gmail app
After clicking on the checkbox at the right and after clicking on the checkbox at the bottom, there is a button bar.
My problem is after clicking the button in ListView
, the button is not clickable if I use the LinearLayout
button ListView
does not respond to any more clicks!
I have tried.
The same issue as the above ...
If you are using a custom adapter, clicking the button inside a ListView will not work so you should try to use the following code to check for OnItemClickListener
ListId.setOnItemClickListener (New AdapterView.OnItemClickListener () {Public Zero onItemClick (AdapterView. & Lt;? & Gt; List, View V, Integer Status, Long ID) Od}});
Comments
Post a Comment