Directly remove the red bar when at the bottom.

Works better when auto refresh threads is turned off.
captchafix
Florens Douwes 11 years ago
parent cced12e3f0
commit 32b6ffcb34
  1. 7
      Clover/app/src/main/java/org/floens/chan/ui/adapter/PostAdapter.java

@ -70,7 +70,6 @@ public class PostAdapter extends BaseAdapter implements Filterable {
private boolean endOfLine; private boolean endOfLine;
private int lastPostCount = 0; private int lastPostCount = 0;
private long lastViewedTime = 0;
private String statusMessage = null; private String statusMessage = null;
private String filter = ""; private String filter = "";
private int pendingScrollToPost = -1; private int pendingScrollToPost = -1;
@ -298,12 +297,8 @@ public class PostAdapter extends BaseAdapter implements Filterable {
if (lastPostCount != sourceList.size()) { if (lastPostCount != sourceList.size()) {
lastPostCount = sourceList.size(); lastPostCount = sourceList.size();
lastViewedTime = Time.get();
}
if (Time.get(lastViewedTime) > 1000L) {
lastViewedTime = Time.get();
threadManager.bottomPostViewed(); threadManager.bottomPostViewed();
notifyDataSetChanged();
} }
} }

Loading…
Cancel
Save