public class TuAlbumListFragment extends TuAlbumListFragmentBase
限定符和类型 | 类和说明 |
---|---|
static interface |
TuAlbumListFragment.TuAlbumListFragmentDelegate
系统相册委托
|
permissionAlertDelegate
构造器和说明 |
---|
TuAlbumListFragment()
系统相册控制器
|
限定符和类型 | 方法和说明 |
---|---|
int |
getCellLayoutId()
行视图布局ID
|
TuAlbumListFragment.TuAlbumListFragmentDelegate |
getDelegate()
系统相册委托
|
int |
getEmptyViewLayouId()
空视图布局ID
|
java.util.List<AlbumSqlInfo> |
getGroups()
系统相册列表
|
static int |
getLayoutId()
布局ID
|
TuAlbumListView |
getListView()
相册列表视图
|
protected void |
initView()
初始化视图,loadView 之后调用
|
protected void |
navigatorBarLoaded(TuSdkNavigatorBar navigatorBar)
初始化导航栏
|
void |
navigatorBarRightAction(TuSdkNavigatorBar.NavigatorBarButtonInterface button)
取消按钮
|
void |
notifySelectedGroup(AlbumSqlInfo group)
通知获取一个相册组
|
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
创建视图
|
void |
onDestroyView() |
protected void |
onPermissionGrantedResult(boolean permissionGranted)
是否已被授予权限
|
void |
setCellLayoutId(int resId)
设置行视图布局ID
|
void |
setDelegate(TuAlbumListFragment.TuAlbumListFragmentDelegate delegate)
系统相册委托
|
void |
setEmptyViewLayouId(int mEmptyViewLayouId)
空视图布局ID
|
protected void |
viewDidLoad(android.view.ViewGroup view)
初始化视图
|
autoSelectedAblumGroupAction, getSkipAlbumName, isDisableAutoSkipToPhotoList, loadView, setDisableAutoSkipToPhotoList, setSkipAlbumName
getErrorListener, getRequestPermissionCode, getRequiredPermissions, hasRequiredPermission, notifyError, onRequestPermissionsResult, requestRequiredPermissions, setErrorListener
alert, alert, filpModalNavigationActivity, filpModalNavigationActivity, hubDismiss, hubDismissRightNow, hubError, hubError, hubStatus, hubStatus, hubSuccess, hubSuccess, initCreateView, onDetach, presentActivity, presentModalNavigationActivity, presentModalNavigationActivity, presentModalNavigationActivity, pushModalNavigationActivity, pushModalNavigationActivity, setNavLeftButton, setNavLeftButton, setNavLeftButton, setNavLeftHighLightButton, setNavLeftHighLightButton, setNavRightButton, setNavRightButton, setNavRightButton, setNavRightHighLightButton, setNavRightHighLightButton
addOrientationListener, backStackEntryCount, bindSoftInputEvent, dismissActivity, dismissActivityWithAnim, dismissActivityWithAnim, equalViewIds, filpModalNavigationActivity, getDismissAnimType, getNavButton, getOriginFragment, getResColor, getResString, getResString, getResString, getResString, getRootView, getRootViewLayoutId, getSdkActivity, getTitle, getViewById, getViewById, getViewId, isBackButtonShowed, isFragmentPause, isFullScreen, isSupportSlideBack, navigatorBarBackAction, navigatorBarCancelAction, navigatorBarHeight, navigatorBarLeftAction, navSearchViewSearch, navSearchViewSetDelegate, navSegmentedAddTexts, navSegmentedAddTexts, navSegmentedSetDelegate, navSegmentedSetected, onAttach, onBackForSlide, onBackPressed, onCreateAnimation, onDestroy, onFragmentAnimationEnd, onKeyUp, onNavigatorBarButtonClicked, onOrientationChanged, onPause, onPauseFragment, onPreDraw, onRefreshData, onResume, onResumeFragment, popFragment, popFragment, popFragmentRoot, presentActivity, presentActivity, presentModalNavigationActivity, presentModalNavigationActivity, presentModalNavigationActivity, pushFragment, refreshOriginFragment, replaceFragment, runOnUiThread, setIsSupportSlideBack, setNavigatorBarId, setNavigatorBarOnButtom, setNavLeftButton, setNavLeftButton, setNavRightButton, setNavRightButton, setOriginFragment, setRequestedOrientation, setRootViewLayoutId, setTitle, setTitle, showBackButton, showNavigatorBar, showView, showViewIn, wantFullScreen
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityCreated, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPrepareOptionsMenu, onSaveInstanceState, onStart, onStop, onViewCreated, onViewStateRestored, postponeEnterTransition, registerForContextMenu, requestPermissions, requireActivity, requireContext, requireFragmentManager, requireHost, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
public static int getLayoutId()
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
TuFragment
onCreateView
在类中 TuFragment
public java.util.List<AlbumSqlInfo> getGroups()
getGroups
在类中 TuAlbumListFragmentBase
public TuAlbumListFragment.TuAlbumListFragmentDelegate getDelegate()
public void setDelegate(TuAlbumListFragment.TuAlbumListFragmentDelegate delegate)
delegate
- the delegate to setpublic void setCellLayoutId(int resId)
resId
- 行视图布局ID (默认: tusdk_impl_component_album_list_cell)org.lasque.tusdk.impl.components.album.TuAlbumListCell}
public int getCellLayoutId()
org.lasque.tusdk.impl.components.album.TuAlbumListCell}
public int getEmptyViewLayouId()
public void setEmptyViewLayouId(int mEmptyViewLayouId)
mEmptyViewLayouId
- the mEmptyViewLayouId to setpublic TuAlbumListView getListView()
public void notifySelectedGroup(AlbumSqlInfo group)
notifySelectedGroup
在类中 TuAlbumListFragmentBase
group
- 相册组protected void onPermissionGrantedResult(boolean permissionGranted)
onPermissionGrantedResult
在类中 TuComponentFragment
permissionGranted
- protected void initView()
protected void navigatorBarLoaded(TuSdkNavigatorBar navigatorBar)
navigatorBarLoaded
在类中 TuSdkFragment
public void navigatorBarRightAction(TuSdkNavigatorBar.NavigatorBarButtonInterface button)
navigatorBarRightAction
在类中 TuSdkFragment
protected void viewDidLoad(android.view.ViewGroup view)
viewDidLoad
在类中 TuAlbumListFragmentBase
public void onDestroyView()
onDestroyView
在类中 TuAlbumListFragmentBase