|
@@ -1,16 +1,18 @@
|
|
|
package com.bomostory.sceneeditmodule.cover
|
|
|
|
|
|
-enum class Category(val id: Int) {
|
|
|
- Daily(1),
|
|
|
- HumanRelations(2),
|
|
|
- Character(3),
|
|
|
- Ispirational(4),
|
|
|
- Knowledge(5),
|
|
|
- Natural(6),
|
|
|
- EnvironmentalProtection(7),
|
|
|
- Imagine(8),
|
|
|
- Life(9),
|
|
|
- Culture(10),
|
|
|
- Fables(11),
|
|
|
- Others(12),
|
|
|
+import com.example.tfat.myapplication.R
|
|
|
+
|
|
|
+enum class Category(val id: Int, val stringResId: Int) {
|
|
|
+ Daily(1, R.string.category_item_daily),
|
|
|
+ HumanRelations(2, R.string.category_item_human_relations),
|
|
|
+ Character(3, R.string.category_item_character),
|
|
|
+ Ispirational(4, R.string.category_item_ispirational),
|
|
|
+ Knowledge(5, R.string.category_item_knowledge),
|
|
|
+ Natural(6, R.string.category_item_natural),
|
|
|
+ EnvironmentalProtection(7, R.string.category_item_environmental_protection),
|
|
|
+ Imagine(8, R.string.category_item_imagine),
|
|
|
+ Life(9, R.string.category_item_life),
|
|
|
+ Culture(10, R.string.category_item_culture),
|
|
|
+ Fables(11, R.string.category_item_fables),
|
|
|
+ Others(12, R.string.category_item_others),
|
|
|
}
|