List of usage examples for android.graphics.drawable Drawable hashCode
@HotSpotIntrinsicCandidate public native int hashCode();
From source file:org.kde.necessitas.ministro.ExtractStyle.java
void addDrawableItemIfNotExists(JSONObject json, ArrayList<Integer> list, Drawable item, String[] states, String filename) {/*ww w . j ava 2 s .c om*/ for (Integer it : list) { if (it.equals(item.hashCode())) return; } list.add(item.hashCode()); try { json.put(getStatesName(states), getDrawable(item, getFileName(filename, states))); } catch (JSONException e) { e.printStackTrace(); } }