java - how to display in dashboard_image_details in next intent -


my json how display in dashboard_image_details in intent retrofit 2 how display in recyclerview

{     "dashboard_info": [         {             "id": "1",             "week_id": "1",             "week_name": "week one",             "color": "#9a94c7",             "week_title": "fruits",             "password": "admin1",             "week_image": "http://192.168.0.2/littlezebra/school_uploads/week_images/1/fruit.png",             "dashboard_image_details": [                 {                     "id": "6",                     "image_title": "apple",                     "image": "http://192.168.0.2/littlezebra/school_uploads/dashboard_images/1/6/app.png",                     "color": "#c88dac"                 },               ]           } } 

you might want like:

fruit apple banana etc

(view play store vertical scroll(category fruits) , horizontal scroll(items apple))

so first adapter showing dashboard_info

then need add list or recyclerview inside first adapter xml file.(for dashboard_image_details )

and need call second adapter first adapters public view getview(int position, view convertview, viewgroup parent){} method.

second adapter normal recyclerview horizontal scroll.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -