only reload timeline on pref change when necessary
This commit is contained in:
parent
970551adee
commit
b655985997
2 changed files with 9 additions and 2 deletions
|
|
@ -98,6 +98,10 @@ public final class TimelineAdapter extends RecyclerView.Adapter {
|
|||
mediaPreviewEnabled = enabled;
|
||||
}
|
||||
|
||||
public boolean getMediaPreviewEnabled() {
|
||||
return mediaPreviewEnabled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getItemId(int position) {
|
||||
return dataSource.getItemAt(position).getViewDataId();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue