REFACTOR END
This commit is contained in:
54
feature/labelslist/build.gradle.kts
Normal file
54
feature/labelslist/build.gradle.kts
Normal file
@@ -0,0 +1,54 @@
|
||||
// [FILE] feature/labelslist/build.gradle.kts
|
||||
// [SEMANTICS] build, labelslist, feature_module
|
||||
// [PURPOSE] Build script for the feature:labelslist module.
|
||||
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
id("org.jetbrains.kotlin.plugin.compose")
|
||||
id("com.google.dagger.hilt.android")
|
||||
id("kotlin-kapt")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.homebox.lens.feature.labelslist"
|
||||
compileSdk = Versions.compileSdk
|
||||
|
||||
defaultConfig {
|
||||
minSdk = Versions.minSdk
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
buildFeatures {
|
||||
compose = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":data"))
|
||||
implementation(project(":domain"))
|
||||
implementation(project(":ui:common"))
|
||||
|
||||
implementation(Libs.coreKtx)
|
||||
implementation(Libs.lifecycleRuntime)
|
||||
implementation(Libs.activityCompose)
|
||||
|
||||
implementation(Libs.composeUi)
|
||||
implementation(Libs.composeUiGraphics)
|
||||
implementation(Libs.composeUiToolingPreview)
|
||||
implementation(Libs.composeMaterial3)
|
||||
implementation(Libs.composeMaterialIconsExtended)
|
||||
implementation(Libs.navigationCompose)
|
||||
implementation(Libs.hiltNavigationCompose)
|
||||
|
||||
implementation(Libs.hiltAndroid)
|
||||
kapt(Libs.hiltCompiler)
|
||||
|
||||
implementation(Libs.timber)
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// [FILE] feature/labelslist/src/main/java/com/homebox/lens/feature/labelslist/LabelsListScreen.kt
|
||||
// [SEMANTICS] ui, screen, labels, list
|
||||
// [PURPOSE] Composable for the Labels List screen.
|
||||
|
||||
package com.homebox.lens.feature.labelslist
|
||||
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.runtime.Composable
|
||||
import com.homebox.lens.ui.common.mainScaffold
|
||||
|
||||
@Composable
|
||||
fun LabelsListScreen(
|
||||
currentRoute: String?,
|
||||
navigationActions: com.homebox.lens.ui.common.NavigationActions,
|
||||
) {
|
||||
mainScaffold(
|
||||
topBarTitle = "Labels",
|
||||
currentRoute = currentRoute,
|
||||
navigationActions = navigationActions,
|
||||
) {
|
||||
Text(text = "Labels List Screen")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user