Skip to content

Instantly share code, notes, and snippets.

View prajapatiravi257's full-sized avatar
🏠
Working from home

Rio257 prajapatiravi257

🏠
Working from home
View GitHub Profile
public class LinearItemDividerDecoration extends RecyclerView.ItemDecoration {
private Drawable mDivider;
private boolean mShowFirstDivider = false;
private boolean mShowLastDivider = false;
public LinearItemDividerDecoration(Context context, AttributeSet attrs) {
final TypedArray a = context
.obtainStyledAttributes(attrs, new int[]{android.R.attr.listDivider});
@prajapatiravi257
prajapatiravi257 / SignedApkGenrator.sh
Created January 30, 2018 04:46
Small bash script for generating keystore file and generate signed apk for ionic apps
#!/bin/bash
echo "-----------Release apk builder for Ionic-------------"
echo "---------------By rio257-------------------"
read -p "Do you want to generate keystore file? <Y/N> " prompt
read -p "Enter the name of app? " appname
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]
then