[api] Analyse and implement new api PreferencesFactory.
Naoghuman opened this issue · 1 comments
Naoghuman commented
[api] Analyse and implement new api PreferencesFactory.
- core have only one class PreferencesFactory.
- PrefercencesFactory is a merge between Builder and Factory Pattern.
- internal have all other classes like Writer, Reader, SimplePreferences...
Naoghuman commented
What is the different between Module-Context and Application-Context?
- Shortly the prefix from the key.
- Application scope means prefix is from Lib-Preferences internal class the packagename. Only one key with this name can exists in the hole application.
- Module scope means prefix is from package class. Same key with different packagenames can exists.