Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.util.Log;

public class Main {
    /**
     * Logs a life cycle method for a given object.  Log message is debug and will include class name.
     *
     * @param object
     * @param lifeCycleMethodName
     */
    public static void logLC(Object object, String lifeCycleMethodName) {
        Log.d("LifeC - " + object.getClass().getSimpleName(), lifeCycleMethodName);
    }
}