Revert "Revert "lineage-sdk self-removing prefs: move reap from onBindViewHolder to onAttached""
This reverts commit 9f648b7046.
Change-Id: Ia102cfb55c16eb52e1412e815abd081d504fc96f
This commit is contained in:
committed by
Bruno Martins
parent
34d6da2407
commit
7ab8aadc8a
@@ -43,6 +43,12 @@ public class SelfRemovingListPreference extends ListPreference {
|
||||
mConstraints = new ConstraintsHelper(context, null, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAttached() {
|
||||
super.onAttached();
|
||||
mConstraints.onAttached();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBindViewHolder(PreferenceViewHolder holder) {
|
||||
super.onBindViewHolder(holder);
|
||||
|
||||
Reference in New Issue
Block a user