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

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