public class ScreenController
extends java.lang.Object
Constructor and Description |
---|
ScreenController() |
Modifier and Type | Method and Description |
---|---|
static Intent |
getCategoryFormIntent(Context context,
Category category)
Getter
|
static Intent |
getCategoryPageIntent(Context context,
Category category,
Subcategory subcategory)
Getter
|
static Intent |
getHomeIntent(Context context)
Getter
|
static Intent |
getMediaItemFormIntent(Context context,
Category category,
MediaItem mediaItem)
Getter
|
static Intent |
getSettingsIntent(Context context)
Getter
|
public static Intent getHomeIntent(Context context)
context
- the contextpublic static Intent getSettingsIntent(Context context)
context
- the contextpublic static Intent getCategoryFormIntent(Context context, Category category)
context
- the contextcategory
- the category to update or null if new categorypublic static Intent getCategoryPageIntent(Context context, Category category, Subcategory subcategory)
context
- the contextcategory
- the category of the pagesubcategory
- the subcategory of the page (if null it brings to the main category page)public static Intent getMediaItemFormIntent(Context context, Category category, MediaItem mediaItem)
context
- the contextcategory
- the category of the media itemmediaItem
- the media item to edit or null if new media item