You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As for the duplication of remove() & removeValueForKey(), MMKV originally provides removeValueForKey().
Later on, to make the migration from SharedPreferences to MMKV easy, MMKV implements the interface SharedPreferences.Editor which provides remove().
Now it is too late to remove either one of them.
Sorry for any trouble or misunderstanding.
Note:
An crash issue will be ignored & closed in a week without logs.
The language of MMKV
The version of MMKV
The platform of MMKV
What is the issue?
mmkv.encodeString(key, null)
mmkv.containsKey(key) 会返回false
这个api设计的合理吗?有多少人知道encode一个null就等价于删掉key?
还有removeKey的默认实现就是removeValueForKey 。。。这样暴露两个接口的目的是什么?
The text was updated successfully, but these errors were encountered: