Create Customize layout in Android
-
01-10-2019 - |
Question
How to create Customize Layout in Android? My problem is I'm displaying Images in grid view, when the user reaches the last image in the grid view, it must display the message: "click here to View More Images"
Solution
You can do it in a simple way. No need to customize layout. You can do it in this way:
OnclickListener: if(position == adapter.getCount - 1){ tellMessage(); }
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow