Skip to content

How to get click of links #8

@shrivastavaanurag

Description

@shrivastavaanurag

Hi Ahmad,
Thanks for the nice

webview

.
I am developing an android app in which i need to make a webview where the links should be open in another activity. I don't how do i make this, I found your code on android-arsenal, I was trying to get the click of links not image, didn't understand how to do this. What do i use instead of IMAGE_TYPE in

if (listener != null && hr.getType() == IMAGE_TYPE) { listener.onClick(hr.getExtra()); }

Please help me to solve this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions