preferencebinder
preferencebinder copied to clipboard
A SharedPreference "injection" library for Android
The processor requires some classes in `javax.*` to compile, which are included in the source. However, these classes don't need to be included in the release packages, and add unnecessary...
The samples have become unrealistic, as they have been used to test the correct implementation of the library, rather than as supporting documentation. The samples should reflect the most common...
What about a `bindType=INPUT` that behaves like `TEXT` but saves the user changes back to the preference?
It would improve UX to check that the user has properly called `PreferenceInjector.inject` and `PreferenceInjector.stopListening` (if necessary) in the target class if there are annotations present. This may not actually...
It might be useful to support saving complex/structured objects that are composed of multiple preference keys. ``` java @PrefType public class User { String username; String email; String phone; int...
Should test error cases, as well as preference value initialization and listening.