Details
Description
While working the forums with a community member an issue was raised with usability of the new Preferences api that is now part of the PropertiesManager.
The examples are using a call to:
properties.checkAndStoreFloatProperty(PropertiesManager.PROPERTY_DEFAULT_ZOOM_LEVEL, 1.25f);
instead of the correct call of:
properties.getPreferences().putFloat(PropertiesManager.PROPERTY_DEFAULT_ZOOM_LEVEL, 1.25f);
Under the new api its important to call PropertiesManager.getInstance().getPreference() to directly access the preferences api.
The examples are using a call to:
properties.checkAndStoreFloatProperty(PropertiesManager.PROPERTY_DEFAULT_ZOOM_LEVEL, 1.25f);
instead of the correct call of:
properties.getPreferences().putFloat(PropertiesManager.PROPERTY_DEFAULT_ZOOM_LEVEL, 1.25f);
Under the new api its important to call PropertiesManager.getInstance().getPreference() to directly access the preferences api.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.3.1 [ 13113 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |