mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-06-05 21:59:15 +02:00
split widgets per apps
This commit is contained in:
@ -1,5 +0,0 @@
|
||||
package com.simplemobiletools.launcher.models
|
||||
|
||||
import android.graphics.drawable.Drawable
|
||||
|
||||
data class AppMetadata(var appTitle: String, var appIcon: Drawable)
|
@ -2,4 +2,5 @@ package com.simplemobiletools.launcher.models
|
||||
|
||||
import android.graphics.drawable.Drawable
|
||||
|
||||
data class AppWidget(var appPackageName: String, var appTitle: String, val appIcon: Drawable, val widgetTitle: String, var width: Int, val height: Int)
|
||||
data class AppWidget(var appPackageName: String, var appTitle: String, val appIcon: Drawable, val widgetTitle: String, var width: Int, val height: Int) :
|
||||
WidgetsListItem()
|
||||
|
@ -0,0 +1,3 @@
|
||||
package com.simplemobiletools.launcher.models
|
||||
|
||||
open class WidgetsListItem
|
@ -0,0 +1,3 @@
|
||||
package com.simplemobiletools.launcher.models
|
||||
|
||||
data class WidgetsListItemsHolder(val widgets: ArrayList<AppWidget>) : WidgetsListItem()
|
@ -0,0 +1,5 @@
|
||||
package com.simplemobiletools.launcher.models
|
||||
|
||||
import android.graphics.drawable.Drawable
|
||||
|
||||
data class WidgetsListSection(var appTitle: String, var appIcon: Drawable) : WidgetsListItem()
|
Reference in New Issue
Block a user