|
|
@@ -224,7 +224,7 @@ public class CustomListicleImageView extends ConstraintLayout {
|
|
|
final LinearSmoothScroller linearSmoothScroller = new LinearSmoothScroller(recyclerView.getContext()) {
|
|
|
@Override
|
|
|
protected float calculateSpeedPerPixel(DisplayMetrics displayMetrics) {
|
|
|
- return 60f / displayMetrics.densityDpi;
|
|
|
+ return 100f / displayMetrics.densityDpi;
|
|
|
}
|
|
|
};
|
|
|
linearSmoothScroller.setTargetPosition(position);
|
|
|
@@ -232,7 +232,6 @@ public class CustomListicleImageView extends ConstraintLayout {
|
|
|
}
|
|
|
};
|
|
|
recyclerView.setLayoutManager(linearLayoutManager);
|
|
|
-
|
|
|
adapter = new CustomListicleImageViewAdapter(context, inflater, contentsDetailImageBeans, event -> {
|
|
|
if (null != listener) {
|
|
|
|