android - Creating like button in the listview -


i working on project , wondering how can implement like button(custom) in list view. should append likes particular row whenever button pressed , unlike if pressed second time.just face book.

can provide me link such tutorial?? want know how handle end part.. please suggest something. thank you.

in custom adapter's getview() need add method setonclicklistener() buttons you're using.

any data associated button has added mybutton.settag() in getview() , can accessed in onclicklistener via view.gettag()


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -