How to put two Recyclerview’s inside an Activity?

Asked

Viewed 109 times

0

I would like to know how to use 2 RecyclerView's within a single Activity, so that one is next to the other and I can carry data between them?

1 answer

1

You can mount two recyclerview in XML,one on the other side,and then you in your actvity create the object of each and initials.so you can transfer data between them using sharedpreferences or sqlite.

  • How to do that? Is there anywhere that has an example?

  • I will try to set a simple example and put here

Browser other questions tagged

You are not signed in. Login or sign up in order to post.