Skip to content

Commit

Permalink
Basically give a fundamental solution for gsantner#1025.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cutie Deng authored and Cutie Deng committed May 29, 2022
1 parent 828cef5 commit 0cf1539
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ public DraggableScrollbarScrollView(Context context, AttributeSet attrs, int def
super(context, attrs, defStyleAttr);
}

{
// Issue #1025 Related:
// When init the scroll, just set it as the bottom in here.
// It may give a better usage for the user.
//
// todo: Next step, describe a micro database to store this special info, and fetch it here.
smoothScrollTo(0, (int )_thumbHeight);
}

@Override
public boolean onInterceptTouchEvent(MotionEvent ev) {
if (!_fastScrollEnabled) {
Expand Down

0 comments on commit 0cf1539

Please sign in to comment.