tray v0.9.1 Release Notes
Release Date: 2015-05-18 // almost 9 years ago-
- saving
null
withmPref.put(KEY, null)
works now - 0️⃣ access to preference with throwing methods instead of default value (throws ItemNotFoundException). Example:
mPref.getString(KEY);
instead ofmPref.getString(KEY, "defaultValue");
- ✅ WrongTypeException when accessing a preference with a different type and the data isn't parsable. Float (
10.1f
) -> String works, String ("10.1"
) -> Float works, String ("test"
) -> Float throws! - javadoc in now included in aar
- saving