Add support for cumulative changelogs

This commit is contained in:
moezbhatti
2019-08-30 20:05:38 +02:00
parent f92afde645
commit 3200956f4f
10 changed files with 156 additions and 52 deletions
@@ -18,11 +18,23 @@
*/
package com.moez.QKSMS.manager
import io.reactivex.Single
interface ChangelogManager {
data class Changelog(
val added: List<String>,
val improved: List<String>,
val fixed: List<String>
)
/**
* Returns true if the app has benn updated since the last time this method was called
*/
fun didUpdate(): Boolean
fun getChangelog(): Single<Changelog>
fun markChangelogSeen()
}