Issue
Hi I have RecycleView with posts I want wen click post go to activity 2.class and view some data that data in model var so what is the good send all data to intent or send post key and in activity 2 get data again from database by key (I wnat to know best way only not code)(I use mvvm)
Solution
You should consider the size of data which you want to pass. If the size of data is too much, I suggest you just pass the key, then on second activity request the data by using that key.
Answered By - Mohammad Bahadori
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.