just some question..
what i wanna make is apps like 9gag viewer. and what i can think of is :
1. load top 10 image by json query from a php script.
2. if almost reach bottom load the next 10.
3. the display will be like 9gag viewer. image on top. and some button below the image, and another image, same botton again.. and so on. (
what lib / listview library should i use ?
What i try before is :
1. load top 10 image by json from php script
2. for every image i load a layout.
3. download using httputils2.
4. if almost reach bottom. load another one from php.. and repeat
the problem is.. after around 50++ images.. it will crash saying memory low .
and when i check similar apps. say 9gag or instagram.. after you load the image and scroll down.. the image that you already load on top is unloaded. and when you scroll up again. it will load again the image.
how do i do this ?
thanks
what i wanna make is apps like 9gag viewer. and what i can think of is :
1. load top 10 image by json query from a php script.
2. if almost reach bottom load the next 10.
3. the display will be like 9gag viewer. image on top. and some button below the image, and another image, same botton again.. and so on. (
what lib / listview library should i use ?
What i try before is :
1. load top 10 image by json from php script
2. for every image i load a layout.
3. download using httputils2.
4. if almost reach bottom. load another one from php.. and repeat
the problem is.. after around 50++ images.. it will crash saying memory low .
and when i check similar apps. say 9gag or instagram.. after you load the image and scroll down.. the image that you already load on top is unloaded. and when you scroll up again. it will load again the image.
how do i do this ?
thanks