is WebView Attach - Android User Interface

Android examples for User Interface:WebView

Description

is WebView Attach

Demo Code


//package com.java2s;
import android.webkit.WebView;

public class Main {
    public static boolean isWebViewAttach(WebView webView) {
        if (webView != null) {
            if (webView.getScrollY() > 0) {
                return false;
            }/*from  w  w w  .  ja  va  2 s .  c  om*/
        }
        return true;
    }
}

Related Tutorials