public abstract class GfycatPlayerView extends FrameSequenceView implements GfycatPlayer
| Constructor and Description |
|---|
GfycatPlayerView(android.content.Context context) |
GfycatPlayerView(android.content.Context context,
android.util.AttributeSet attrs) |
GfycatPlayerView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
| Modifier and Type | Method and Description |
|---|---|
android.view.View |
getView()
Returns view that represents this player.
|
void |
setOnStartAnimationListener(java.lang.Runnable onStartAnimationListener)
Set callback that would be invoked on first animation start.
|
abstract void |
setupGfycat(Gfycat gfycat) |
abstract void |
setupGfycat(Gfycat gfycat,
ContextDetails contextDetails) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpause, play, release, setScaleType, setShouldLoadPreview, setupPreviewpublic GfycatPlayerView(android.content.Context context)
public GfycatPlayerView(android.content.Context context,
android.util.AttributeSet attrs)
public GfycatPlayerView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
public android.view.View getView()
GfycatPlayergetView in interface GfycatPlayerpublic void setOnStartAnimationListener(java.lang.Runnable onStartAnimationListener)
GfycatPlayersetOnStartAnimationListener in interface GfycatPlayerpublic abstract void setupGfycat(Gfycat gfycat,
ContextDetails contextDetails)
setupGfycat in interface GfycatPlayerpublic abstract void setupGfycat(Gfycat gfycat)
setupGfycat in interface GfycatPlayer