refactor: move logic to viewmodel
This commit is contained in:
parent
ba367d106c
commit
64e6ccf08b
10 changed files with 363 additions and 237 deletions
|
|
@ -6,6 +6,8 @@ import androidx.compose.runtime.Composable
|
|||
import androidx.compose.ui.ExperimentalComposeUiApi
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.platform.LocalWindowInfo
|
||||
import kotlinx.coroutines.flow.Flow
|
||||
import moe.lava.banksia.ui.BoxedValue
|
||||
|
||||
@OptIn(ExperimentalComposeUiApi::class)
|
||||
@Composable
|
||||
|
|
@ -19,8 +21,8 @@ actual fun Maps(
|
|||
modifier: Modifier,
|
||||
markers: List<Marker>,
|
||||
polylines: List<Polyline>,
|
||||
newCameraPosition: Pair<Point, Pair<Point, Point>?>?,
|
||||
cameraPositionUpdated: () -> Unit,
|
||||
cameraPositionFlow: Flow<BoxedValue<CameraPosition>>,
|
||||
setLastKnownLocation: (Point) -> Unit,
|
||||
extInsets: WindowInsets,
|
||||
) {
|
||||
TODO("Not yet implemented")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue