-
Notifications
You must be signed in to change notification settings - Fork 138
Convenience Builder
Daniel Stone edited this page Jan 27, 2017
·
1 revision
To make the process of creating an about screen even easier, a set of predefined methods are there to take the work out of adding the most common actions.
ConvenienceBuilder
was created with customisability in mind and has alternative methods with more options available.
Here I will list the different methods that you can use. Each action has a method to return an [OnClickAction
][onclickaction] and a MaterialAboutActionItem
.
createAppTitleItem(Context c)
createAppTitleItem(String appName, Drawable applicationIcon)
- createVersionActionItem(Context c, Drawable icon, CharSequence text, boolean includeVersionCode)