Create a separate package for UI screens and state
This commit is contained in:
parent
c627db973c
commit
999c59e9ec
|
@ -1,4 +1,4 @@
|
||||||
package dev.lonami.talaria.ui
|
package dev.lonami.talaria.ui.screens
|
||||||
|
|
||||||
import androidx.compose.foundation.layout.*
|
import androidx.compose.foundation.layout.*
|
||||||
import androidx.compose.foundation.lazy.LazyColumn
|
import androidx.compose.foundation.lazy.LazyColumn
|
||||||
|
@ -20,6 +20,7 @@ import androidx.compose.ui.unit.dp
|
||||||
import androidx.lifecycle.viewmodel.compose.viewModel
|
import androidx.lifecycle.viewmodel.compose.viewModel
|
||||||
import dev.lonami.talaria.R
|
import dev.lonami.talaria.R
|
||||||
import dev.lonami.talaria.models.Message
|
import dev.lonami.talaria.models.Message
|
||||||
|
import dev.lonami.talaria.ui.state.ChatViewModel
|
||||||
import dev.lonami.talaria.ui.theme.TalariaTheme
|
import dev.lonami.talaria.ui.theme.TalariaTheme
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package dev.lonami.talaria.ui
|
package dev.lonami.talaria.ui.screens
|
||||||
|
|
||||||
import androidx.compose.foundation.Image
|
import androidx.compose.foundation.Image
|
||||||
import androidx.compose.foundation.clickable
|
import androidx.compose.foundation.clickable
|
||||||
|
@ -23,6 +23,7 @@ import androidx.lifecycle.viewmodel.compose.viewModel
|
||||||
import dev.lonami.talaria.R
|
import dev.lonami.talaria.R
|
||||||
import dev.lonami.talaria.data.MockDialogRepository
|
import dev.lonami.talaria.data.MockDialogRepository
|
||||||
import dev.lonami.talaria.models.Dialog
|
import dev.lonami.talaria.models.Dialog
|
||||||
|
import dev.lonami.talaria.ui.state.DialogViewModel
|
||||||
import dev.lonami.talaria.ui.theme.TalariaTheme
|
import dev.lonami.talaria.ui.theme.TalariaTheme
|
||||||
|
|
||||||
@Composable
|
@Composable
|
|
@ -1,4 +1,4 @@
|
||||||
package dev.lonami.talaria.ui
|
package dev.lonami.talaria.ui.screens
|
||||||
|
|
||||||
import androidx.compose.foundation.layout.*
|
import androidx.compose.foundation.layout.*
|
||||||
import androidx.compose.foundation.text.KeyboardActions
|
import androidx.compose.foundation.text.KeyboardActions
|
|
@ -1,4 +1,4 @@
|
||||||
package dev.lonami.talaria.ui
|
package dev.lonami.talaria.ui.state
|
||||||
|
|
||||||
import dev.lonami.talaria.models.Message
|
import dev.lonami.talaria.models.Message
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package dev.lonami.talaria.ui
|
package dev.lonami.talaria.ui.state
|
||||||
|
|
||||||
import androidx.lifecycle.ViewModel
|
import androidx.lifecycle.ViewModel
|
||||||
import dev.lonami.talaria.bindings.Native
|
import dev.lonami.talaria.bindings.Native
|
|
@ -1,4 +1,4 @@
|
||||||
package dev.lonami.talaria.ui
|
package dev.lonami.talaria.ui.state
|
||||||
|
|
||||||
import dev.lonami.talaria.models.Dialog
|
import dev.lonami.talaria.models.Dialog
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package dev.lonami.talaria.ui
|
package dev.lonami.talaria.ui.state
|
||||||
|
|
||||||
import androidx.lifecycle.ViewModel
|
import androidx.lifecycle.ViewModel
|
||||||
import dev.lonami.talaria.data.DialogSource
|
import dev.lonami.talaria.data.DialogSource
|
Loading…
Reference in New Issue