use of com.auth0.sharelock.fragment.LinkFragment in project sharelock-android by auth0.
the class ComposeActivity method onEvent.
public void onEvent(AllowedViewersModifiedEvent event) {
secret.replaceAllowedViewers(event.getViewers());
final LinkFragment fragment = new LinkFragment();
Bundle arguments = new Bundle();
arguments.putParcelable(LinkFragment.LINK_FRAGMENT_SECRET_ARGUMENT, secret);
fragment.setArguments(arguments);
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("Link Step").commit();
bus.post(new RequestLinkEvent(secret));
}
Aggregations