mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Preparation to music streaming - Picking from Gelli
This commit is contained in:
parent
a28ad27288
commit
820f783d01
18 changed files with 1921 additions and 87 deletions
|
|
@ -0,0 +1,23 @@
|
|||
package com.cappielloantonio.play.glide.palette;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
|
||||
import androidx.palette.graphics.Palette;
|
||||
|
||||
public class BitmapPaletteWrapper {
|
||||
private final Bitmap bitmap;
|
||||
private final Palette palette;
|
||||
|
||||
public BitmapPaletteWrapper(Bitmap bitmap, Palette palette) {
|
||||
this.bitmap = bitmap;
|
||||
this.palette = palette;
|
||||
}
|
||||
|
||||
public Bitmap getBitmap() {
|
||||
return bitmap;
|
||||
}
|
||||
|
||||
public Palette getPalette() {
|
||||
return palette;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue