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 int getTopicId(Bundle bundle, String inputValue) {
        int id = 0;
        if (bundle != null) {
            id = bundle.getInt(inputValue);
        }
        return id;
    }
}