Skip to content

Instantly share code, notes, and snippets.

View jisung's full-sized avatar

Jisung Jung jisung

  • Viva Republica
  • Seoul, Korea
View GitHub Profile
package com.vingle.application.home.feed;
import com.rxmediaplayer.MpState;
import com.rxmediaplayer.RxMediaPlayer;
import com.rxmediaplayer.SurfaceTextureEvent;
import com.rxmediaplayer.SurfaceTextureEventType;
import com.rxmediaplayer.TextureViewEventOnSubscribe;
import com.vingle.android.R;
import com.vingle.application.card.SaveImageHelper;
import com.vingle.application.common.ThreadHelper;
@jisung
jisung / AspectRatioImageView
Created May 20, 2014 05:37
AspectRatioImageView
package com.jsjtools.android;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.ImageView;
import com.jsjtool.android.R;
public class AspectRatioImageView extends ImageView {
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.AbstractCollection;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import android.media.AudioManager;
import android.media.MediaPlayer;