Back to project page GridViewHeader.
The source code is released under:
Apache License
If you think the Android project GridViewHeader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.munix.gridviewheader; //from w ww .j a v a 2 s .c o m import android.util.Log; public class Utilities { public static void log(String message) { String fullClassName = Thread.currentThread().getStackTrace()[3].getClassName(); String className = fullClassName.substring(fullClassName.lastIndexOf(".") + 1); String methodName = Thread.currentThread().getStackTrace()[3].getMethodName(); int lineNumber = Thread.currentThread().getStackTrace()[3].getLineNumber(); Log.v("minube " + className + "." + methodName + "():" + lineNumber, message); } }