-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from ken1000minus7/main
Replaced room database with firebase of user
- Loading branch information
Showing
23 changed files
with
265 additions
and
562 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
app/src/main/java/org/openlake/sampoorna/data/constants/Constants.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 |
---|---|---|
@@ -1,6 +1,21 @@ | ||
package org.openlake.sampoorna.data.constants | ||
|
||
object Constants { | ||
/** | ||
* Firebase collections | ||
*/ | ||
const val Users = "users" | ||
const val Blogs = "blogs" | ||
|
||
/** | ||
* Shared preference constants | ||
*/ | ||
const val Sampoorna = "sampoorna" | ||
const val SOSMessage = "sosmessage" | ||
const val Name = "name" | ||
const val Username = "username" | ||
const val Age = "age" | ||
const val Email = "email" | ||
const val About = "about" | ||
|
||
} |
35 changes: 0 additions & 35 deletions
35
app/src/main/java/org/openlake/sampoorna/data/dao/UserDao.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
26 changes: 0 additions & 26 deletions
26
app/src/main/java/org/openlake/sampoorna/data/di/UserDatabaseModule.kt
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
app/src/main/java/org/openlake/sampoorna/data/di/UserRepositoryModule.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
app/src/main/java/org/openlake/sampoorna/data/repository/UserRepository.kt
This file was deleted.
Oops, something went wrong.
45 changes: 0 additions & 45 deletions
45
app/src/main/java/org/openlake/sampoorna/data/repository/UserRepositoryImpl.kt
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
app/src/main/java/org/openlake/sampoorna/data/sources/UserDatabase.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
22 changes: 0 additions & 22 deletions
22
app/src/main/java/org/openlake/sampoorna/data/sources/entities/UserEntity.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
Oops, something went wrong.