-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
I'm using this library as per the code you've provided in the README. Here's how I'm using it..
LoginFragment....
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
bindProgressButton(btnLogin)
btnLogin.attachTextChangeAnimator()
btnLogin.setOnClickListener {
btnLogin.showProgress {
buttonTextRes = R.string.signing_user_in
progressColor = Color.WHITE
}
api.performLogin(username, password)...
// Async call which runs a handler OnComplete in which I'm calling btnLogin.hideProgress(R.string.action_sign_in)
}
...
...
}
However the loading bar freezes. Why do you think this is happened? Am I doing it wrong? Also, I noticed that the text became uppercase which is pretty much bad! Here's a recording:
https://youtu.be/FTSd1FnSRP4
Metadata
Metadata
Assignees
Labels
No labels