Android recyclerview



{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0microsoft sans serif;}} {\colortbl ;\red255\green255\blue255;}\viewkind4\uc1\pard\highlight1\lang16393\f0\fs24 hello everyone ,\parin last tutorial we given animation to recyclerview. if you haven't seen my last tutorial pleasego back and watch it. in this tutorial we will show details of news on clicking on anycard . this tutorial is request from akinyemi


Android recyclerview, john . thank you john for request . now hereis my android studio . create new activity . name it as news details . now go to activitynews details layout . remove padding. change relative layout to webview. give it a id webview.now go to news details class create new object of webview . connect this object with xml view . go tomy adapter class . inside bind view holder


method . set on click listner on cardview. inside this create intent from our current activity to news details activity . put extra string in intent name it as linkand pass our new link by using current.getlink methode . now go inside news details classcreate new object of bundle and save intent extras in it. now inside web view load urland pass link in it . \par \highlight0\par\highlight1\par here we are good to go hit run on the top. now if i click on any card it will load details of that news . hance we successfully showndetails of news on clicking any card . stay


Android recyclerview

tune if you like this recyclerview help usto make more videos hit like , share ,subscribe and let me know your thoughts in coment boxesbelow. for source code go to my website link


is given in description . thank you have anice day\highlight0\par }


Android recyclerview Rating: 4.5 Diposkan Oleh: PaduWaras