I am creating a directory of schools in android application and want to open their details on new page by clicking on it from list view. how should i handle it?
Asked
Active
Viewed 727 times
0
-
RecycleView is best for large list data. – Vishal Sojitra Jun 15 '18 at 11:42
-
RecyclerView with load more option is the best way to handle big set of data. Find a link for example https://github.com/Pyush/Android-RecyclerView-Loadmore – Tamilselvan S Jun 15 '18 at 11:46
2 Answers
1
make Pojo of the student info and pass it to the next activity using parcelable object

Ajit Dalvi
- 21
- 2
-
-
You have class of the student information implement the parcelable and pass it to the next activity intent.putparcelableextra("KEY","OBJECT"); try this link you will get the idea https://stackoverflow.com/questions/10107442/android-how-to-pass-parcelable-object-to-intent-and-use-getparcelable-method-of – Ajit Dalvi Jun 16 '18 at 14:42