Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Commit

Permalink
Fix - The circular indicator was not dismissed on the success case
Browse files Browse the repository at this point in the history
  • Loading branch information
palves-ulht committed Apr 24, 2023
1 parent a90a091 commit 7fdfa43
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ class MainActivity : AppCompatActivity() {
Log.i("APP", "Passing ${charactersUI.size} characters to CharactersListActivity")
intent.putParcelableArrayListExtra("characters", charactersUI)
startActivity(intent)

// dismiss the circular progress indicator
binding.getCharactersBtn.visibility = View.VISIBLE
binding.progressBar.visibility = View.INVISIBLE
}
},
onFailure = {
Expand Down

0 comments on commit 7fdfa43

Please sign in to comment.