Search in sources :

Example 1 with ShareFragment

use of com.auth0.sharelock.fragment.ShareFragment in project sharelock-android by auth0.

the class ComposeActivity method onEvent.

public void onEvent(NewSecretEvent event) {
    secret = event.getSecret();
    final ShareFragment fragment = new ShareFragment();
    getSupportFragmentManager().beginTransaction().setCustomAnimations(android.R.anim.slide_in_left, android.R.anim.slide_out_right, android.R.anim.slide_in_left, android.R.anim.slide_out_right).replace(R.id.sharelock_compose_container, fragment).addToBackStack("Share Step").commit();
}
Also used : ShareFragment(com.auth0.sharelock.fragment.ShareFragment)

Aggregations

ShareFragment (com.auth0.sharelock.fragment.ShareFragment)1