Skip to content

Instantly share code, notes, and snippets.

View nikunjdaga's full-sized avatar

Nikunj Daga nikunjdaga

  • Delhi, India
View GitHub Profile
@nish-d
nish-d / SharedPreferenceUtils.java
Last active September 13, 2016 15:22
Simple Util Class for Shared Preferences
package com.nishitadutta.Utils;
import android.content.Context;
import android.content.SharedPreferences;
import java.util.Map;
import java.util.Set;
/**
* Created by Nishita on 18-08-2016.
@alphamu
alphamu / TextDrawable.java
Last active May 7, 2023 16:24
An TextDrawable that can be used to draw a String. This can be used anywhere you would normally use a drawable. You can watch the demo video here: https://youtu.be/l1HgpcJhIi0
/**
* Copyright 2016 Ali Muzaffar
* <p/>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* Unless required by applicable law or agreed to in writing, software