0

I have recycler view in my fragment activity and I am displaying data in card view in main activity. how can I navigate data of card view to another activity. in fragment class I have recycle rview and in main activity I am calling recycle rview adapter

Bajirao Shinde
  • 1,356
  • 1
  • 18
  • 26
  • 1
    if you don't have DB, you can put information from **CardView** to **Intent** – Alexander Apr 29 '16 at 09:42
  • @Alexander I have used DB – sapan ravani Apr 29 '16 at 10:20
  • @sapanravani I think you can send the ID of item (not position in list) to activity. And then do query by id from DB and fill details activity. – Alexander Apr 29 '16 at 10:33
  • if you have the data in arrayList you can use this list with intent to pass your data to any activity. Read this post carefully.. https://stackoverflow.com/questions/11340776/passing-a-list-from-one-activity-to-another – Akshat Vajpayee Apr 29 '16 at 09:56

0 Answers0