We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Since AndroidAnnotations 2.3
You can enhance an Android Content Provider with the @EProvider annotation:
@EProvider
@EProvider public class MyContentProvider extends ContentProvider { }
You can then start using most AA annotations, except the ones related to views and extras:
@EProvider public class MyContentProvider extends ContentProvider { @SystemService NotificationManager notificationManager; @Bean MyEnhancedDatastore datastore; @UiThread void showToast() { Toast.makeText(getContext().getApplicationContext(), "Hello World!", Toast.LENGTH_LONG).show(); } // ... }