修复崩溃问题

This commit is contained in:
zhangyuanzhen
2020-04-01 18:22:29 +08:00
parent c3e062aa28
commit 5420c7e4ed
4 changed files with 16 additions and 4 deletions

View File

@@ -268,7 +268,7 @@ public class AppNavigatorFragment extends MvpFragment<AppNavigatorView, AppNavig
if (Math.abs(index) == 1) {
scroller.smoothScrollBy(getResources().getDimensionPixelSize(R.dimen.dp_137) * index,
0);
0,null,10);
} else {
layoutManager.startSmoothPendingScroll(layoutManager.getCurrentPosition() + index);
}