-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(UserSettingDataSource): Removed UserSettingsDataSource classes
Logic from UserSettingsDataSource moved directly into UserSettingsRepository. All basic user parameters (shop_id, seance, segment, did, sid) goes through SharedPreferences.
- Loading branch information
Showing
16 changed files
with
127 additions
and
201 deletions.
There are no files selected for viewing
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
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
12 changes: 12 additions & 0 deletions
12
...ization-sdk/src/main/kotlin/com/personalization/sdk/data/models/params/UserBasicParams.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.personalization.sdk.data.models.params | ||
|
||
object UserBasicParams { | ||
const val SHOP_ID = "shop_id" | ||
const val DID = "did" | ||
const val SEANCE = "seance" | ||
const val SID = "sid" | ||
const val SEGMENT = "segment" | ||
const val STREAM = "stream" | ||
const val SOURCE_FROM = "from" | ||
const val SOURCE_CODE = "code" | ||
} |
15 changes: 0 additions & 15 deletions
15
...tion-sdk/src/main/kotlin/com/personalization/sdk/data/models/params/UserSettingsParams.kt
This file was deleted.
Oops, something went wrong.
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
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
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
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
23 changes: 0 additions & 23 deletions
23
...n/kotlin/com/personalization/sdk/data/repositories/userSettings/UserSettingsDataSource.kt
This file was deleted.
Oops, something went wrong.
58 changes: 0 additions & 58 deletions
58
...tlin/com/personalization/sdk/data/repositories/userSettings/UserSettingsDataSourceImpl.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.