-
Notifications
You must be signed in to change notification settings - Fork 0
Custom Objects & Constants
Shanti Ranjan Das edited this page Jan 24, 2020
·
1 revision
Andy
This object holds the default configuration for some fields
-
disposeAllLogs(isDisposable: Boolean = false)
Dispose all logs, means all logs are now not be printed, this is false by default, make it true. Especially before going to production(It will not show any logs)
Note:It will only dispose those logs which are printed using this library's log extension function(like loge,logd,logw). For more details see documentation of LogUtils class
-
doubleClickDuration(duration:Long)
Set default duration of double click, default is set to 1000L i.e., 1 sec. This method is used withcanClickAgain()
method. See the method description for more details.
ConstantUtils
This object holds constant variables which we mainly use like name regex, email regex and much more. See the class for more details
DateUtils
This object holds constant variables which we mainly used for time. See the class for more details