I add many ImageView
to HorizontalScrollView
, each ImageView
load image from internet. But screen only display 3 ImageView
.
I want to know what ImageView
is on screen because I want to remove image from another ImageView
that not display in screen.
Is there anyway to do that ?
Sorry for my bad English.
You need to consider using lazy ListView
instead of <ScrollView>
for your images. With a lazy ListView, the app won't download the hidden images until the user scroll to view them.
I'm not familiar with such a ListView but I think those links might help you: