Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.graphics.Bitmap;

import android.util.Log;

public class Main {
    private static final String LOGTAG = "AndroidUtil";

    public static void recycleBmp(Bitmap bmp) {
        if (null != bmp && !bmp.isRecycled()) {
            bmp.recycle();
            Log.d(LOGTAG, "=======recycleBmp ======");
        }
    }
}