mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 07:03:35 +00:00
Preparation to music streaming - Picking from Gelli
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user