public abstract class

SCBasePictureController

extends SCBaseController<T extends IViewHolder>
implements IPictureController<V extends IPictureViewHolder>
java.lang.Object
   ↳ com.c2call.sdk.pub.gui.core.controller.SCBaseController<T extends com.c2call.sdk.pub.gui.core.controller.IViewHolder>
     ↳ com.c2call.sdk.pub.gui.core.controller.SCBasePictureController<V extends com.c2call.sdk.pub.gui.core.controller.IPictureViewHolder>
Known Direct Subclasses

Summary

Fields
public String _pictureUrl
Public Constructors
SCBasePictureController(View view, SCViewDescription viewDescription)
Public Methods
int getDefaultPictureResource()
SCBitmapManager.IBitmapListener getRemotePictureListener()
Gets a SCBitmapManager.IBitmapListener that is called if an remote picture is ready to be shown
void onPictureViewClick(View v)
Called if the picture view is clicked
Protected Methods
void onBindViewHolder(V vh)
void onPictureLoaded(Bitmap bitmap, String url)
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.gui.core.controller.SCBaseController
From class java.lang.Object
From interface android.view.View.OnAttachStateChangeListener
From interface com.c2call.sdk.pub.gui.core.common.IActivityResultListener
From interface com.c2call.sdk.pub.gui.core.controller.IController
From interface com.c2call.sdk.pub.gui.core.controller.IPictureController

Fields

public String _pictureUrl

Public Constructors

public SCBasePictureController (View view, SCViewDescription viewDescription)

Public Methods

public int getDefaultPictureResource ()

public SCBitmapManager.IBitmapListener getRemotePictureListener ()

Gets a SCBitmapManager.IBitmapListener that is called if an remote picture is ready to be shown

Returns
  • the listener

public void onPictureViewClick (View v)

Called if the picture view is clicked

Parameters
v the view that was clicked

Protected Methods

protected void onBindViewHolder (V vh)

protected void onPictureLoaded (Bitmap bitmap, String url)