This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AllCapsMethodTransformationCompat implements TransformationMethod { | |
private static AllCapsMethodTransformationCompat sInstance; | |
private static AllCapsMethodTransformationCompat sKeepOriginalInstance; | |
private boolean mAllCaps = false; | |
private String mOriginalString; | |
public AllCapsMethodTransformationCompat(String string) { | |
mOriginalString = string; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.annotation.SuppressLint; | |
import android.os.Build; | |
import android.os.Bundle; | |
import android.support.v7.app.ActionBarActivity; | |
import android.util.Log; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.view.ViewTreeObserver; | |
import com.google.android.gms.maps.GoogleMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.annotation.SuppressLint; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.graphics.drawable.Drawable; | |
import android.os.Build; | |
import android.support.v7.app.ActionBarActivity; | |
import android.util.Log; | |
import android.view.LayoutInflater; | |
import android.view.View; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by nikola on 11/28/14. | |
*/ | |
public class MentionTransformation implements TransformationMethod { | |
private int mColor; | |
private Pattern MENTIONS_PATTERN = Pattern.compile("\\B@[a-z0-9_-]+"); | |
private MentionTransformation(int color) { | |
mColor = color; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by nikola on 11/14/14. | |
*/ | |
public class MaterialColorRandomizer { | |
private Shade mNuance; | |
private Context mContext; | |
private MaterialColorRandomizer(Context context) { | |
mContext = context; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.animation.Animator; | |
import android.animation.ObjectAnimator; | |
import android.annotation.TargetApi; | |
import android.os.Build; | |
import android.transition.TransitionValues; | |
import android.transition.Visibility; | |
import android.view.View; | |
import android.view.ViewGroup; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.bluelinelabs.logansquare.LoganSquare; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.lang.reflect.Type; | |
import java.nio.charset.Charset; | |
import retrofit.converter.ConversionException; | |
import retrofit.converter.Converter; | |
import retrofit.mime.TypedInput; |
OlderNewer