Skip to content

Convenience Builder

Daniel Stone edited this page Jan 27, 2017 · 1 revision

Convenience Builder

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.

App Title

ActionItem

  • createAppTitleItem(Context c)
  • createAppTitleItem(String appName, Drawable applicationIcon)

Version

ActionItem

  • createVersionActionItem(Context c, Drawable icon, CharSequence text, boolean includeVersionCode)
Clone this wiki locally