Package com. example. passentry. utils
Types
EspressoIdlingResource
Link copied to clipboard
object EspressoIdlingResource
Content copied to clipboard
Network
Link copied to clipboard
class Network @Inject() constructor(context: Context) : NetworkConnectivity
Content copied to clipboard
NetworkConnectivity
Link copied to clipboard
interface NetworkConnectivity
Content copied to clipboard
RegexUtils
Link copied to clipboard
object RegexUtils
Content copied to clipboard
SimpleCountingIdlingResource
Link copied to clipboard
class SimpleCountingIdlingResource(resourceName: String) : IdlingResource
Content copied to clipboard
SingleEvent
Link copied to clipboard
Functions
afterTextChanged
Link copied to clipboard
hideKeyboard
Link copied to clipboard
observeEvent
Link copied to clipboard
fun <T> LifecycleOwner.observeEvent(liveData: LiveData<SingleEvent<T>>, action: (t: SingleEvent<T>) -> Unit)
Content copied to clipboard
setTextFutureExt
Link copied to clipboard
setupSnackbar
Link copied to clipboard
fun View.setupSnackbar(lifecycleOwner: LifecycleOwner, snackBarEvent: LiveData<String>, timeLength: Int)
Content copied to clipboard
showKeyboard
Link copied to clipboard
showSnackbar
Link copied to clipboard
showToast
Link copied to clipboard
fun View.showToast(lifecycleOwner: LifecycleOwner, ToastEvent: LiveData<SingleEvent<Any>>, timeLength: Int)
Content copied to clipboard
toInvisible
Link copied to clipboard
wrapEspressoIdlingResource
Link copied to clipboard
Properties
AUTH_TOKEN
Link copied to clipboard
CHECK_YOUR_FIELDS
Link copied to clipboard
DEFAULT_ERROR
Link copied to clipboard
NETWORK_ERROR
Link copied to clipboard
NO_INTERNET_CONNECTION
Link copied to clipboard
PASS_WORD_ERROR
Link copied to clipboard
SEARCH_ERROR
Link copied to clipboard
USER_NAME_ERROR
Link copied to clipboard