detail: diff instead of replace when resorting
Completely rework the detail list implementations so that resorting the song list causes a replace operation instead of a diff operation. This finally makes the list experience consistent across the app.
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ import java.util.Map;
|
||||
* window-like. For BottomSheetDialog use {@link BottomSheetDialog#setTitle(int)}, and for
|
||||
* BottomSheetDialogFragment use {@link ViewCompat#setAccessibilityPaneTitle(View, CharSequence)}.
|
||||
*
|
||||
* Modified at several points by Alexander Capehart backport miscellaneous fixes not currently
|
||||
* Modified at several points by Alexander Capehart to backport miscellaneous fixes not currently
|
||||
* obtainable in the currently used MDC library.
|
||||
*/
|
||||
public class BackportBottomSheetBehavior<V extends View> extends CoordinatorLayout.Behavior<V> {
|
||||
|
||||
+3
@@ -53,6 +53,9 @@ import com.google.android.material.resources.MaterialResources;
|
||||
* layoutManager.getOrientation());
|
||||
* recyclerView.addItemDecoration(dividerItemDecoration);
|
||||
* </pre>
|
||||
*
|
||||
* Modified at several points by Alexander Capehart to backport miscellaneous fixes not currently
|
||||
* obtainable in the currently used MDC library.
|
||||
*/
|
||||
public class BackportMaterialDividerItemDecoration extends ItemDecoration {
|
||||
public static final int HORIZONTAL = LinearLayout.HORIZONTAL;
|
||||
|
||||
Reference in New Issue
Block a user