This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExoPlayerState( | |
context: Context, | |
private val scope: CoroutineScope | |
) : ExoPlayer by ExoPlayer.Builder(context).build(), Player.Listener { | |
@get:JvmName("playing") | |
var isPlaying by mutableStateOf(false) | |
private set | |
var duration by mutableStateOf(0.seconds) | |
private set | |
var currentPosition by mutableStateOf(0.seconds) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GraphDetails { | |
LinkedHashSet<Project> projects | |
LinkedHashMap<Tuple2<Project, Project>, List<String>> dependencies | |
ArrayList<Project> multiplatformProjects | |
ArrayList<Project> androidProjects | |
ArrayList<Project> javaProjects | |
ArrayList<Project> rootProjects | |
// Used for excluding module from graph | |
public static final SystemTestName = "system-test" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//region model | |
sealed interface NotesUiModel : UiModel { | |
object Loading : NotesUiModel | |
data class Data( | |
val notes: List<Note>, | |
val events: EventHandler<Event> | |
) : NotesUiModel { | |
data class Note( |
OlderNewer