Last active
September 10, 2017 13:39
-
-
Save rakshakhegde/7f94b091b66b16a728bff4306076ae37 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
// 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