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

@@ -247,7 +247,7 @@ public class AdapterOperation extends RecyclerView.Adapter<AdapterOperation.View
owner.getLifecycle().addObserver(new LifecycleObserver() {
@OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
public void onDestroyed() {
Log.i(AdapterOperation.this + " parent destroyed");
Log.d(AdapterOperation.this + " parent destroyed");
AdapterOperation.this.parentFragment = null;
}
});
@@ -263,22 +263,22 @@ public class AdapterOperation extends RecyclerView.Adapter<AdapterOperation.View
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);