Fix volume color, text style etc
This commit is contained in:
parent
2c09074ad6
commit
b9412c6ef6
81 changed files with 2028 additions and 305 deletions
|
@ -1,9 +1,9 @@
|
|||
package code.name.monkey.retromusic.model;
|
||||
|
||||
import androidx.annotation.StringRes;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import androidx.annotation.DrawableRes;
|
||||
import androidx.annotation.StringRes;
|
||||
import code.name.monkey.retromusic.ui.adapter.HomeAdapter.Companion.HomeSection;
|
||||
|
||||
public class Home {
|
||||
|
@ -13,14 +13,17 @@ public class Home {
|
|||
int subtitle;
|
||||
@HomeSection
|
||||
int homeSection;
|
||||
@DrawableRes
|
||||
int icon;
|
||||
|
||||
ArrayList arrayList;
|
||||
|
||||
public Home(int title, int subtitle, ArrayList arrayList, @HomeSection int homeSection) {
|
||||
public Home(int title, int subtitle, ArrayList arrayList, @HomeSection int homeSection, @DrawableRes int icon) {
|
||||
this.title = title;
|
||||
this.subtitle = subtitle;
|
||||
this.arrayList = arrayList;
|
||||
this.homeSection = homeSection;
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
@HomeSection
|
||||
|
@ -41,4 +44,9 @@ public class Home {
|
|||
public ArrayList getArrayList() {
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@DrawableRes
|
||||
public int getIcon() {
|
||||
return icon;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue