Code example for View

Methods: getScrollXscrollTo

0
        return view.getScrollY();
    } 
    public void setScrollY(int value) {
        View view = mView.get();
        if (view != null) {
            view.scrollTo(view.getScrollX(), value);
        } 
    } 
 
    public float getTranslationX() { 
        return mTranslationX;
    } 
    public void setTranslationX(float translationX) {
        if (mTranslationX != translationX) {
            prepareForUpdate(); 
            mTranslationX = translationX;
            invalidateAfterUpdate(); 
        } 
    } 
    public float getTranslationY() { 
Connect your IDE to all the code out there  Get Codota for Java