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, showAlertIfCannotSaveFile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onComponentError
public TuAlbumComponentOption componentOption()
public void setComponentOption(TuAlbumComponentOption mComponentOption)
public static TuAlbumComponent component(android.app.Activity activity, TuSdkComponent.TuSdkComponentDelegate delegate)
activity
- 内容上下文delegate
- 组件委托protected void initComponent()
TuSdkComponent
initComponent
在类中 TuSdkComponent
public TuAlbumComponentBase showComponent()
TuSdkComponent
showComponent
在类中 TuSdkComponent
protected void handleShowAlbum()
public void onTuAlbumFragmentSelected(TuAlbumListFragment fragment, AlbumSqlInfo group)
onTuAlbumFragmentSelected
在接口中 TuAlbumListFragment.TuAlbumListFragmentDelegate
fragment
- 系统相册控制器group
- 相册组public void onTuPhotoFragmentSelected(TuPhotoListFragment fragment, ImageSqlInfo imageSqlInfo)
onTuPhotoFragmentSelected
在接口中 TuPhotoListFragment.TuPhotoListFragmentDelegate
fragment
- 系统相册控制器imageSqlInfo
- 相片信息