Skip to content

Releases: DylanCaiCoding/MMKV-KTX

1.2.16

03 May 06:22
Compare
Choose a tag to compare

Major Update:

In order to ensure better type safety, some adjustments have been made to the usage:

  • The MMKVOwner interface has been renamed as IMMKVOwner.
  • A new MMKVOwner class has been added with a mmapID constructor parameter.
  • The feature of dynamically modifying key names in LiveData has been removed.
  • Based on MMKV 1.2.16

重大更新

为了更好地保证类型安全,用法做了一些调整:

  • MMKVOwner 接口重名为 IMMKVOwner
  • 新增 MMKVOwner 类,有个 mmapID 构造参数;
  • 移除 LiveData 动态修改键名的功能;
  • 基于 MMKV 1.2.16

1.2.15

21 Apr 02:07
Compare
Choose a tag to compare
  • Based on MMKV 1.2.15 and Kotlin 1.7.10
  • Supports using val xxx by mmkvXXX().asLiveData() to obtain LiveData, which can observe data changes and directly update UI.
  • Supports dynamically modifying key using LiveData. #5
  • Removed memory cache because it affects the usage of kv.removeValueForKey(key) and kv.clearAll() and optimization is not significant. #5

  • 基于 MMKV 1.2.15 和 Kotlin 1.7.10
  • 支持使用 val xxx by mmkvXXX().asLiveData() 得到 LiveData,可观察数据变化直接更新 UI
  • 支持使用 LiveData 动态修改 key #5
  • 移除内存缓存,因为会影响到 kv.removeValueForKey(key)kv.clearAll() 用法,且优化不大 #5

1.2.14

18 Aug 15:47
3b98d53
Compare
Choose a tag to compare
  • Based on the MMKV 1.2.14
  • Use property delegates with less code
  • Add cache to the value

  • 基于 MMKV 1.2.14
  • 用更少的代码使用属性委托
  • 添加缓存

1.2.13

08 Apr 13:52
Compare
Choose a tag to compare
  • Based on the MMKV 1.2.13

  • 基于 MMKV 1.2.13

1.2.12

02 Apr 06:48
Compare
Choose a tag to compare
  • Based on the MMKV 1.2.12

  • 基于 MMKV 1.2.12

1.2.11

23 Nov 01:39
Compare
Choose a tag to compare
  • Based on the MMKV 1.2.11

  • 基于 MMKV 1.2.11

1.2.10

22 Nov 15:32
7b7495b
Compare
Choose a tag to compare

It's easier to use the MMKV without initializing the MMKV and defining the Key value.

  • Based on the MMKV 1.2.10