-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Final touches on frameworkLocalStorageTest Still missing clear all, getAll and make sure observeSharedPreferencesChanges emitts for any changes (missing tests basically). #17, #69 * Add episode to README #84
- Loading branch information
1 parent
77e83b5
commit a9aff4e
Showing
9 changed files
with
206 additions
and
99 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
26 changes: 0 additions & 26 deletions
26
...droidTest/java/com/joaquimley/transporteta/sharedpreferences/ExampleInstrumentedTest.java
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
6 changes: 4 additions & 2 deletions
6
.../src/main/java/com/joaquimley/transporteta/sharedpreferences/model/SharedPrefTransport.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,8 @@ | ||
package com.joaquimley.transporteta.sharedpreferences.model | ||
|
||
import com.joaquimley.transporteta.sharedpreferences.FrameworkLocalStorageImpl | ||
|
||
@kotlinx.serialization.Serializable | ||
data class SharedPrefTransport(val id: String, val name: String, val code: Int, val latestEta: String, | ||
val isFavorite: Boolean = false, val type: String, val lastUpdated: Long, | ||
val slot: String) | ||
val isFavorite: Boolean = false, val type: String, val lastUpdated: String, | ||
val slot: FrameworkLocalStorageImpl.Slot? = null) |
Oops, something went wrong.