Skip to content

Instantly share code, notes, and snippets.

sinistance /
Last active May 7, 2016
AndroidmaxES USB Debug Enabler
//Password usb debugging Andromax Es C46B2G
public class Main
public static void main(String[] args)
//Ganti MEID dan IMEI (warna merah) di bawah sesuai di HP
//MEID wajib 14 character. Jika MEID ada 15 character, cukup pakai 14 character pertama saja
sinistance / AndroidStyle.xml
Last active Aug 29, 2015
Android Code Style Guidelines for Contributors
View AndroidStyle.xml
<code_scheme name="AndroidStyle">
<option name="JAVA_INDENT_OPTIONS">
<option name="INDENT_SIZE" value="4" />
<option name="CONTINUATION_INDENT_SIZE" value="8" />
<option name="TAB_SIZE" value="8" />
<option name="USE_TAB_CHARACTER" value="false" />
<option name="SMART_TABS" value="false" />
<option name="LABEL_INDENT_SIZE" value="0" />
<option name="LABEL_INDENT_ABSOLUTE" value="false" />
sinistance /
Last active May 9, 2016
package com.sinistance.watchme.view.adapter;
import android.view.ViewGroup;
public abstract class HeaderFooterRecyclerViewAdapter<VH extends RecyclerView.ViewHolder> extends RecyclerView.Adapter<VH> {
private static final int VIEW_TYPE_MAX_COUNT = 1000;
private static final int HEADER_VIEW_TYPE_OFFSET = 0;