Skip to content

Instantly share code, notes, and snippets.

Created Jul 14, 2021
What would you like to do?
package com.sample.android_sample_preference_datastore.proto
import kotlinx.coroutines.flow.Flow
interface ProtoUserRepo {
suspend fun saveUserLoggedInState(state:Boolean)
suspend fun getUserLoggedInState(): Flow<Boolean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment