Reduced logging

This commit is contained in:
M66B
2019-12-07 17:02:42 +01:00
parent 2591dc9011
commit 22df24d91b
34 changed files with 143 additions and 144 deletions

View File

@@ -326,7 +326,7 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
owner.getLifecycle().addObserver(new LifecycleObserver() {
@OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
public void onDestroyed() {
Log.i(AdapterAccount.this + " parent destroyed");
Log.d(AdapterAccount.this + " parent destroyed");
AdapterAccount.this.parentFragment = null;
}
});
@@ -342,22 +342,22 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
diff.dispatchUpdatesTo(new ListUpdateCallback() {
@Override
public void onInserted(int position, int count) {
Log.i("Inserted @" + position + " #" + count);
Log.d("Inserted @" + position + " #" + count);
}
@Override
public void onRemoved(int position, int count) {
Log.i("Removed @" + position + " #" + count);
Log.d("Removed @" + position + " #" + count);
}
@Override
public void onMoved(int fromPosition, int toPosition) {
Log.i("Moved " + fromPosition + ">" + toPosition);
Log.d("Moved " + fromPosition + ">" + toPosition);
}
@Override
public void onChanged(int position, int count, Object payload) {
Log.i("Changed @" + position + " #" + count);
Log.d("Changed @" + position + " #" + count);
}
});
diff.dispatchUpdatesTo(this);