This file contains 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 KeyHelper<E : RealmModel?>(var classFrom: Class<E>) { | |
fun getIds(db: Realm, idName: String): IdModel { | |
val idHelper = RealmIdModel() | |
val currentID = db.where(classFrom).max(idName) | |
This file contains 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
@FragmentScoped | |
class WalkThroughPrefsProvider @Inject constructor( | |
private val oneTimePrefFactory: OneTimePref.OneTimePrefFactory | |
) : OneTimePrefContract by oneTimePrefFactory.create( | |
WALK_THROUGH_PREFS, | |
WALK_THROUGH_PREFS_SHOWN_KEY | |
) { | |
private companion object { |