Demonstrate how to use a custom gridView with a lazy grid..
CustomGridView_android is hosted in the following web site
https://github.com/Alex-DG/CustomGridView_android
If you think the Android project CustomGridView_android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of CustomGridView_android.
Item | Value |
---|---|
Java File Count | 12 |
Supported screen sizes | [hdpi] |
Target SDK Version | 18 |
Minimum SDK Version | 14 |
Activity Count | 3 |
Fragment Count | 1 |
jar files used | android-support-v4.jar universal-image-loader-1.9.1-with-sources.jar |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.INTERNET android.permission.WRITE_EXTERNAL_STORAGE android.permission.WRITE_INTERNAL_STORAGE |
There are 2 image files in CustomGridView_android. The names of the image files are listed as follows.
ic_action_search.png stub.png
The following screenshort is generated from the image listed above.
CustomGridView_android has the following Java source files.
com.project.picgallery.FullScreenViewActivity.java com.project.picgallery.GridViewActivity.java com.project.picgallery.SearchResultsActivity.java com.project.picgallery.adapter.FullScreenImageAdapter.java com.project.picgallery.adapter.GridViewImageAdapter.java com.project.picgallery.adapter.GridViewImageSearchResultsAdapter.java com.project.picgallery.asynctask.JsonDownloaderTask.java com.project.picgallery.fragment.NoPicFoundDialogFragment.java com.project.picgallery.helper.AppConstant.java com.project.picgallery.helper.JSONParser.java com.project.picgallery.helper.Utils.java com.project.picgallery.model.Wallpaper.java