feat: initialize Android project structure with Gradle and basic UI/data architecture
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package com.example.esp32aldldashboard.data
|
||||
|
||||
import kotlinx.coroutines.flow.Flow
|
||||
import kotlinx.coroutines.flow.flow
|
||||
|
||||
interface DataRepository {
|
||||
val data: Flow<List<String>>
|
||||
}
|
||||
|
||||
class DefaultDataRepository : DataRepository {
|
||||
override val data: Flow<List<String>> = flow { emit(listOf("Android")) }
|
||||
}
|
||||
Reference in New Issue
Block a user