samedi 6 avril 2019

How to pass data from one activity to another using MVP pattern?

I have a recyclerview in MainActivity where data are from an API. I want to open a DetailsActivity after clicking an item. Now in MVP pattern, how should I pass the data object from 1st activity to 2nd activity? I used Interector in Mainactivity to handle data part.

Aucun commentaire:

Enregistrer un commentaire