public static class Config.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Config |
build() |
Config.Builder |
setAutoLog(boolean autoLogEnabled)
If true will automatically log the whole page content to console when the view
is instantiated.
|
Config.Builder |
setAutoRefresh(boolean autoRefreshEnabled)
If true will auto refresh the view
|
Config.Builder |
setAutoRefresh(boolean autoRefreshEnabled,
long intervalMs)
If true will auto refresh the view.
|
Config.Builder |
setLogTag(java.lang.String logTag)
Sets the tag which is used to log debug data to console (see
Log.w(String, String) |
Config.Builder |
setShowHighlightContent(boolean showHighlightContent)
UI highlighting content area with zebra color
|
Config.Builder |
setShowPagesIndicatorOnMultiplePages(boolean showPagesIndicator)
Enables or disables the viewpager page indicator (only visible if more than one page)
|
Config.Builder |
setShowZebra(boolean showZebra)
UI showing zebra pattern (highlighting every other row)
|
public Config.Builder setShowZebra(boolean showZebra)
showZebra
- public Config.Builder setShowHighlightContent(boolean showHighlightContent)
showHighlightContent
- public Config.Builder setAutoLog(boolean autoLogEnabled)
autoLogEnabled
- public Config.Builder setAutoRefresh(boolean autoRefreshEnabled)
autoRefreshEnabled
- public Config.Builder setAutoRefresh(boolean autoRefreshEnabled, long intervalMs)
autoRefreshEnabled
- intervalMs
- min is 300ms - time between refreshespublic Config.Builder setLogTag(java.lang.String logTag)
Log.w(String, String)
logTag
- public Config.Builder setShowPagesIndicatorOnMultiplePages(boolean showPagesIndicator)
showPagesIndicator
- public Config build()