Skip to content

Progress Bar Stuck Issue #20

@mohsin

Description

@mohsin

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions