Created
June 23, 2020 14:28
-
-
Save am5a03/118e29004700cd9b4e08a677f2f7d756 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* @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