Skip to content

Instantly share code, notes, and snippets.

@rakshakhegde
Last active September 10, 2017 13:39
Show Gist options
  • Save rakshakhegde/7f94b091b66b16a728bff4306076ae37 to your computer and use it in GitHub Desktop.
Save rakshakhegde/7f94b091b66b16a728bff4306076ae37 to your computer and use it in GitHub Desktop.
// These 2 lines can be done in Application class
RemixerInitialization.initRemixer(getApplication());
Remixer.getInstance().setSynchronizationMechanism(new LocalStorage(getApplicationContext()));
RemixerBinder.bind(this); // pass an Activity instance
final FloatingActionButton remixerButton = findViewById(R.id.remixerButton);
RemixerFragment.newInstance().attachToFab(this, remixerButton);
// or attach to button, swipe up gesture or even a phone shake
// https://github.com/material-foundation/material-remixer-android/blob/develop/docs/CONFIGURE_UI.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment