In my project images are fetched from server.So i am getting url of images from server.I can store that in list but how to implement it with AsymmetricGridView. Seeing your tutorial i added this-
mGridView=(AsymmetricGridView)rootView.findViewById(R.id.asymmetricgridView);
mGridView.setRequestedColumnWidth(Utils.dpToPx(this, 120));
final List<AsymmetricItem> items = new ArrayList<>();
// initialize your items array
adapter =new PhotosListAdapter();
AsymmetricGridViewAdapter asymmetricAdapter =
new AsymmetricGridViewAdapter<>(getActivity().getApplicationContext(), mGridView, adapter);
mGridView.setAdapter(asymmetricAdapter);
Here PhotosListAdapter is the adapter which extends ListAdapter.Now how to pass urls to adapter.And how to display images from url in gridview?
In my project images are fetched from server.So i am getting url of images from server.I can store that in list but how to implement it with AsymmetricGridView. Seeing your tutorial i added this-
Here PhotosListAdapter is the adapter which extends ListAdapter.Now how to pass urls to adapter.And how to display images from url in gridview?