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
Post a Comment