Skip to content

Instantly share code, notes, and snippets.

Avatar

Yeojong(Joy) Kim yeojoy

View GitHub Profile
@yeojoy
yeojoy / RecyclerItemClickListener
Last active Jan 27, 2016
RecyclerItemClickListener. 민철형이 어디선가 보고 덧붙인 건데 일단 나중을 위해
View RecyclerItemClickListener
package me.yeojoy
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.View;
/**
* Created by 민철 on 10월 1일.
@yeojoy
yeojoy / list
Created Jul 15, 2015
StackTraceElement 내용
View list
index : 0
Class Name : dalvik.system.VMStack
File Name : VMStack.java
Line Number : -2
Method Name : getThreadStackTrace
isNativeMethod : true
toString() : dalvik.system.VMStack.getThreadStackTrace(Native Method)
index : 1
@yeojoy
yeojoy / MyLog.java
Created Jul 15, 2015
Android Log line number
View MyLog.java
private void show() {
StringBuilder sb = new StringBuilder();
StackTraceElement ste = null;
int j = Thread.currentThread().getStackTrace().length;
for (int index = 0; index < j; index++) {
ste = Thread.currentThread().getStackTrace()[index];
if (ste == null) continue;