Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class AgreementRouterImpl implements AgreementRouter {
- private final Context mContext;
- /**
- * Конструктор класса {@link AgreementRouterImpl}
- *
- * @param context контекст
- */
- public AgreementRouterImpl(@ApplicationContext Context context) {
- mContext = Preconditions.checkNotNull(context, "Context is required");
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public void showAgreement() {
- mContext.startActivity(AgreementActivity.newIntent(mContext));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement