Skip to content

Instantly share code, notes, and snippets.

@raxhaxor
Created December 24, 2019 16:45
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 raxhaxor/bc8834c3069c63012f4820823563dae0 to your computer and use it in GitHub Desktop.
Save raxhaxor/bc8834c3069c63012f4820823563dae0 to your computer and use it in GitHub Desktop.
@Override
public void addContentView(View view, ViewGroup.LayoutParams params) {
if (mContentParent == null) {
installDecor();
}
mContentParent.addView(view, params);
final Callback cb = getCallback();
if (cb != null && !isDestroyed()) {
cb.onContentChanged();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment