Create a separate package for UI screens and state

This commit is contained in:
Lonami Exo 2022-10-21 20:31:29 +02:00
parent c627db973c
commit 999c59e9ec
7 changed files with 9 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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