Implement new Multiselect UX and groundwork for Multiforward.

This commit is contained in:
Alex Hart
2021-08-11 13:18:38 -03:00
committed by Cody Henthorne
parent 655e43a079
commit 28abc1e4ff
19 changed files with 625 additions and 79 deletions

View File

@@ -27,6 +27,10 @@ public interface ChatWallpaper extends Parcelable {
void loadInto(@NonNull ImageView imageView);
default boolean isPhoto() {
return false;
}
@NonNull Wallpaper serialize();
enum BuiltIns {

View File

@@ -42,6 +42,11 @@ final class UriChatWallpaper implements ChatWallpaper, Parcelable {
return dimLevelInDarkTheme;
}
@Override
public boolean isPhoto() {
return true;
}
@Override
public void loadInto(@NonNull ImageView imageView) {
GlideApp.with(imageView)