Skip to content

Instantly share code, notes, and snippets.

View iamMehedi's full-sized avatar

Mehedi Hasan Khan iamMehedi

View GitHub Profile
iamMehedi /
Created March 27, 2017 09:08
A Generic RecyclerView adapter implementation that can be used everywhere with any kind of RecyclerView items
import android.util.SparseArray;
import android.view.View;
import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.List;
* Created by Mehedi on 5/31/15.
iamMehedi / Create Android Icons.jsx
Created November 30, 2013 19:11
This is a Photoshop Script to create all versions of launcher icon needed for Android from a chosen source image file. This Gist is inspired from:
// Prerequisite:
// First, create at least a 512x512 px PNG file
// Install - Save Create Android Icons.jsx to:
// Win: C:\Program Files\Adobe\Adobe Utilities - CS6\ExtendScript Toolkit CS6\SDK
// Mac: /Applications/Utilities/Adobe Utilities/ExtendScript Toolkit CS6/SDK
// * Restart Photoshop
// Update:
// * Just modify & save, no need to resart Photoshop once it's installed.