0

I receive categories data from server in Json using retrofit and save in array catlist. each category has a CategoryID and CategoryName. i want to use tablayout to show all of categories(not much) and with selecting tabs , use CategoryID to get items with this id from server and show in recyclerview. i don't know how do this .

Vahid H
  • 45
  • 6

1 Answers1

0

Fortunately i get the answer! this link helped me to have a dynamic tablayout: Github link

Vahid H
  • 45
  • 6