Answer the question
In order to leave comments, you need to log in
How to get and add information to another Activity?
Good day!
I am using SQLite & RecyclerView to display information in MainActivity. When you click on one of the elements, another Activity opens, which displays information about the selected element. Information can be quite voluminous (text, for example).
The question is what is better: to receive all data from the database in MainActivity and use putExtra to transfer information to another activity, or to transfer the element id to another activity and get information from the database from another activity and display it to the user?
Thanks in advance for your answers!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question