0

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"

1 Answer 1

2

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(); }

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.