michaelcarrano/detective-droid

View on GitHub
app/src/main/java/com/michaelcarrano/detectivedroid/presentation/applist/Change.kt

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
package com.michaelcarrano.detectivedroid.presentation.applist

import com.michaelcarrano.detectivedroid.presentation.model.AppUiModel

sealed class Change {
    object Loading : Change()
    data class Apps(val apps: List<AppUiModel>) : Change()
    data class Error(val throwable: Throwable?) : Change()
}