I want to have a Button
at the top of my ListView
and when i click on it, a little delete Button should appear on each item in the ListView
. And then an AlertDialog
should appear when I press on the little delete button.
Could someone point me in the right direction on how to do this? Please
You have to create ListView with custom adapter.
Here is pretty good tutorial http://www.vogella.com/tutorials/AndroidListView/article.html
You just have to follow the following steps:
And you are done.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.