Advertisement
Guest User

Untitled

a guest
Aug 14th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. public class AgreementRouterImpl implements AgreementRouter {
  2.  
  3. private final Context mContext;
  4.  
  5. /**
  6. * Конструктор класса {@link AgreementRouterImpl}
  7. *
  8. * @param context контекст
  9. */
  10. public AgreementRouterImpl(@ApplicationContext Context context) {
  11. mContext = Preconditions.checkNotNull(context, "Context is required");
  12. }
  13. /**
  14. * {@inheritDoc}
  15. */
  16. @Override
  17. public void showAgreement() {
  18. mContext.startActivity(AgreementActivity.newIntent(mContext));
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement