diff --git a/app/src/main/java/com/sjapps/jsonlist/MainActivity.java b/app/src/main/java/com/sjapps/jsonlist/MainActivity.java index 2b6907f..79a6b5b 100644 --- a/app/src/main/java/com/sjapps/jsonlist/MainActivity.java +++ b/app/src/main/java/com/sjapps/jsonlist/MainActivity.java @@ -339,7 +339,7 @@ public void open(String Title, String path, int previousPosition) { if (previousPosition == -1) { handler.postDelayed(() -> { - list.smoothScrollToPosition(data.getPreviousPos()+4); + list.smoothScrollToPosition(data.getPreviousPos()+2); adapter.setHighlightItem(data.getPreviousPos()); }, 500); handler.postDelayed(() -> {