• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help How to Reuse Fragments code with different values?

I have made two fragments. One is a list fragment and other is a details fragment. List Fragment shows the list of exams and when you click on an item in that list, details fragment shows its details. so now i want to use this same layout for different values. For ex- i have made this for all Law entrance exams and now i need to make for different exams like management, engineering,etc with the same layout (list+details) but with different corresponding values. Can anybody help me with this? or direct me to any sample code that i can look into?
 
Back
Top Bottom