-
Notifications
You must be signed in to change notification settings - Fork 190
Open
Description
I need to display an indication that the image is onLoading so my solution is to setImageDrawable but didn't work.
This is what i had tried :
ArrayList images = new ArrayList();
for(final Photos photo : MainApplication.getPhotos()){
ImageView image = new ImageView(getActivity());
image.setImageDrawable(getActivity().getResources().getDrawable(R.drawable.default_image));
image.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), ImageDisplayerActivity.class);
intent.putExtra("url",photo.getUrl() );
getActivity().startActivity(intent);
}
});
Metadata
Metadata
Assignees
Labels
No labels