Code example for View

Methods: getScrollX

0
    public int getScrollX() { 
        View view = mView.get();
        if (view == null) {
            return 0; 
        } 
        return view.getScrollX();
    } 
    public void setScrollX(int value) {
        View view = mView.get();
        if (view != null) {
            view.scrollTo(value, view.getScrollY());
        } 
    } 
    public int getScrollY() { 
        View view = mView.get();
        if (view == null) {
            return 0; 
        } 
        return view.getScrollY();
    } 
    public void setScrollY(int value) {