evotor / evotor-api-example

9 stars 11 forks source link

открытие Activity #6

Closed hopyres closed 4 years ago

hopyres commented 4 years ago
public class DiscountService extends IntegrationService {
  @Nullable
  @Override
  protected Map<String, ActionProcessor> createProcessors() {
    Intent intent = new Intent(this, DiscountActivity.class);
    startActivity(intent);
    return null;
  }
}

Как нужно правильно вызвать Activity, чтобы приложение не падало?