Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.app.Activity;

import android.content.Intent;
import android.support.annotation.NonNull;

public class Main {
    /**
     * start for result
     * */
    public static void startResult(@NonNull Activity activity, int requestCode, @NonNull Intent intent) {
        activity.startActivityForResult(intent, requestCode);
    }
}