Skip to content

Instantly share code, notes, and snippets.

@yccheok
Created June 6, 2017 11:28
Show Gist options
  • Select an option

  • Save yccheok/29d1b1f40537de49b1a28db835252051 to your computer and use it in GitHub Desktop.

Select an option

Save yccheok/29d1b1f40537de49b1a28db835252051 to your computer and use it in GitHub Desktop.
public class SignInFragment
@Override
public View onCreateView...
...
enhanceViewAnimatorWithForgotPasswordIfPossible(inflater, container);
enhanceViewAnimatorWithResetPasswordIfPossible(inflater, container);
this.viewAnimator.setDisplayedChild(2);
return v;
}
public class WelcomeFragment
@Override
public View onCreateView...
Intent intent = new Intent(jStockFragmentActivity, SignInFragmentActivity.class);
startActivityForResult(intent, RequestCode.REQUEST_TRADING_SIGN_IN_FRAGMENT_ACTIVITY);
this.getActivity().overridePendingTransition(0, 0);
return v;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment