Kotpref icon indicating copy to clipboard operation
Kotpref copied to clipboard

Support for versioning

Open pr-gupta opened this issue 6 years ago • 0 comments

As of now, there is no support for versioning of KotprefModel. This is useful in some cases when someone wants to remove a key on version update, or clear the complete model itself.

This could be provided by having a version number in KotprefModel and calling an abstract function onVersionUpdate whenever the version number is increased.

pr-gupta avatar Aug 29 '18 02:08 pr-gupta