public class TuAlbumComponent extends TuAlbumComponentBase implements TuAlbumListFragment.TuAlbumListFragmentDelegate, TuPhotoListFragment.TuPhotoListFragmentDelegate
TuSdkComponent.TuSdkComponentDelegate| 构造器和说明 |
|---|
TuAlbumComponent(android.app.Activity activity) |
| 限定符和类型 | 方法和说明 |
|---|---|
static TuAlbumComponent |
component(android.app.Activity activity,
TuSdkComponent.TuSdkComponentDelegate delegate)
启动系统相册组件
|
TuAlbumComponentOption |
componentOption()
系统相册组件配置选项
|
protected void |
handleShowAlbum()
显示相册
|
protected void |
initComponent()
初始化组件
|
void |
onTuAlbumFragmentSelected(TuAlbumListFragment fragment,
AlbumSqlInfo group)
选中相册组
|
void |
onTuPhotoFragmentSelected(TuPhotoListFragment fragment,
ImageSqlInfo imageSqlInfo)
选中相片
|
void |
setComponentOption(TuAlbumComponentOption mComponentOption)
系统相册组件配置选项
|
TuAlbumComponentBase |
showComponent()
显示组件
|
activity, alert, alert, getDelegate, getResString, getResString, isAutoDismissWhenCompleted, notifyResult, onComponentError, presentActivity, presentModalNavigationActivity, presentModalNavigationActivity, presentModalNavigationActivity, pushModalNavigationActivity, pushModalNavigationActivity, setAutoDismissWhenCompleted, setDelegate, showAlertIfCannotSaveFileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonComponentErrorpublic TuAlbumComponentOption componentOption()
public void setComponentOption(TuAlbumComponentOption mComponentOption)
public static TuAlbumComponent component(android.app.Activity activity, TuSdkComponent.TuSdkComponentDelegate delegate)
activity - 内容上下文delegate - 组件委托protected void initComponent()
TuSdkComponentinitComponent 在类中 TuSdkComponentpublic TuAlbumComponentBase showComponent()
TuSdkComponentshowComponent 在类中 TuSdkComponentprotected void handleShowAlbum()
public void onTuAlbumFragmentSelected(TuAlbumListFragment fragment, AlbumSqlInfo group)
onTuAlbumFragmentSelected 在接口中 TuAlbumListFragment.TuAlbumListFragmentDelegatefragment - 系统相册控制器group - 相册组public void onTuPhotoFragmentSelected(TuPhotoListFragment fragment, ImageSqlInfo imageSqlInfo)
onTuPhotoFragmentSelected 在接口中 TuPhotoListFragment.TuPhotoListFragmentDelegatefragment - 系统相册控制器imageSqlInfo - 相片信息