|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.jobs.templates.TemplatesHelper
public class TemplatesHelper
| Constructor Summary | |
|---|---|
TemplatesHelper()
|
|
| Method Summary | |
|---|---|
static int |
getAddServiceButtonLabel(int id)
This is used to set a hint to the edit text when configuring a service via ServiceChooserDialog |
static String |
getContent(android.content.Context context,
TemplateService templateService)
Returns content for a template service |
static int |
getHint(int id)
This is used to set a hint to the edit text when configuring a service via ServiceChooserDialog |
static int |
getServiceDrawable(int id)
|
static List<Service> |
getServices(android.content.Context context)
Creates and returns a list of available services |
static TemplateService |
getTemplateFromResult(int serviceId,
android.content.Intent result)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplatesHelper()
| Method Detail |
|---|
public static List<Service> getServices(android.content.Context context)
context - used to get string resources
public static int getServiceDrawable(int id)
id - service id
public static int getHint(int id)
ServiceChooserDialog
id - service id
public static int getAddServiceButtonLabel(int id)
ServiceChooserDialog
id - service id
public static String getContent(android.content.Context context,
TemplateService templateService)
context - used to create the content stringstemplateService - service to generate the content from
public static TemplateService getTemplateFromResult(int serviceId,
android.content.Intent result)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||