kopia lustrzana https://github.com/vitorpamplona/amethyst
10 wiersze
284 B
Kotlin
10 wiersze
284 B
Kotlin
|
package com.vitorpamplona.amethyst.ui.screen
|
||
|
|
||
|
import com.vitorpamplona.amethyst.model.Account
|
||
|
|
||
|
sealed class AccountState {
|
||
|
object LoggedOff: AccountState()
|
||
|
class LoggedInViewOnly(val account: Account): AccountState()
|
||
|
class LoggedIn(val account: Account): AccountState()
|
||
|
}
|