Android Question Enabling button when user scrolls down webview until the bottom [Solved]

Francisco Gonzalez 1962

Member
Licensed User
Hello,

I have a long disclaimer displayed by a webview. I want the "I Agree" button enabled only after the user scrolls down until the end of the disclaimer.

I tried to find an event that can be triggered by the user reaching the bottom of the document and I found onOverScrolled but I don't know if and how to use it...

Please, can you give a hint?

Cheers

Francisco
 
Last edited:

Francisco Gonzalez 1962

Member
Licensed User
Thanks for your help, finally I've used an even simpler solution:
I deleted the "I Agree button" and instead I added one sentence at the end of the disclaimer displayed by the webview "IF YOU AGREE WITH ALL THE CONDITIONS click or touch the following text": and then an empty link with text:

"I AGREE"

Then I used the event webview_OverrideUrl to catch the touch.

Cheers

Francisco
 
Last edited:
Top