Skip to content

Instantly share code, notes, and snippets.

@pavan5208
Created July 14, 2021 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pavan5208/72ffc72f8d8350e308eb2cf9c730ed86 to your computer and use it in GitHub Desktop.
Save pavan5208/72ffc72f8d8350e308eb2cf9c730ed86 to your computer and use it in GitHub Desktop.
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