Skip to content

Instantly share code, notes, and snippets.

@FireZenk
Created December 10, 2017 13:44
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 FireZenk/9ed1e8cbc83eb8bea9bc270cde9753eb to your computer and use it in GitHub Desktop.
Save FireZenk/9ed1e8cbc83eb8bea9bc270cde9753eb to your computer and use it in GitHub Desktop.
MyCustomView customView = new MyCustomView(context);
parentView.removeAllViews();
parentView.add(customView);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment