This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class WidgetProvider extends AppWidgetProvider { | |
@StringDef({Actions.MANUAL_REFRESH, Actions.DETAIL_ACTIVITY, Actions.RECONFIGURATION_ACTIVITY}) | |
@Retention(RetentionPolicy.SOURCE) | |
private @interface Actions { | |
String MANUAL_REFRESH = BuildConfig.APPLICATION_ID + ".widget.MANUAL_REFRESH_ACTION"; | |
String DETAIL_ACTIVITY = BuildConfig.APPLICATION_ID + ".widget.DETAIL_ACTIVITY_ACTION"; | |
String RECONFIGURATION_ACTIVITY = BuildConfig.APPLICATION_ID + ".widget.RECONFIGURATION_ACTIVITY_ACTION"; | |
} |