Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save am5a03/118e29004700cd9b4e08a677f2f7d756 to your computer and use it in GitHub Desktop.
Save am5a03/118e29004700cd9b4e08a677f2f7d756 to your computer and use it in GitHub Desktop.
/**
*
* @param originalViewContainerWithViewStub
*/
@CallSuper
protected fun afterViewStubInflated(originalViewContainerWithViewStub: View?) {
hasInflated = true
if (originalViewContainerWithViewStub != null) {
val pb =
originalViewContainerWithViewStub.findViewById<ProgressBar>(R.id.inflateProgressbar)
pb.visibility = View.GONE
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment