Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.os.Bundle;

public class Main {
    public static final String ARGUMENT_APP_NAME = "app_name";
    public static final String ARGUMENT_DIALOG_TYPE = "dialog_type";

    public static Bundle createArguments(int dialogType, int appNameResId) {
        Bundle args = new Bundle();
        args.putInt(ARGUMENT_APP_NAME, appNameResId);
        args.putInt(ARGUMENT_DIALOG_TYPE, dialogType);
        return args;
    }
}