When i scrollTo(0,250) i want to include an animation with the scrollaction. i did this code but it is not scrolling according to the animation. scrollMe is the scrolling widget id.
ObjectAnimator anim = ObjectAnimator.ofInt(scrollMe, "translationY",
250, 0);
anim.setDuration(800);
anim.start();
scrollMe.scrollTo(0, 250);