Android xml parser



hello everyone ,in last tutorial we created recyclerview . if you haven't seen my last tutorial please goback and watch it. now in this tutorial we will give input to recyclerview . so let'sget started. here is my android studio. now go inside myadapter class. under thisgo to myviewholder class define our textviews title ,description ,date and imageview thumbnail.now initialize all title,description ,date,thumbnail


Android xml parser, using view.findviewby id methode .store current item. under on bindviewholder methode now we canaccess all the views from our custom row news item by using holder. so set text of titleby using item.gettitle . and set text of all the other description , date in same way .hit run on the top. my app is running . now


Android xml parser


it has title ,text and date .this concludes that we successfully inserted data in recyclerview . in the next tutorialwe will load images using picasso library . in the mean time like,share , comment anddont forget to subscribe my channel . thank you have a nice day


Android xml parser Rating: 4.5 Diposkan Oleh: PaduWaras