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.view.View;

public class Main {
    public static View getView(Activity activity, int rid) {
        return activity.findViewById(rid);
    }

    public static View getView(View view, int rid) {
        return view.findViewById(rid);
    }
}