Code example for View

Methods: setScrollY

0
        static float getScrollY(View view) {
            return view.getScrollY();
        } 
 
        static void setScrollY(View view, int scrollY) {
            view.setScrollY(scrollY);
        } 
 
        static float getTranslationX(View view) {
            return view.getTranslationX();
        } 
 
        static void setTranslationX(View view, float translationX) {
            view.setTranslationX(translationX);
        } 
 
        static float getTranslationY(View view) {
            return view.getTranslationY();
        } 
 
        static void setTranslationY(View view, float translationY) {