添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
所有已实现的接口:
android.content.ComponentCallbacks, android.view.View.OnCreateContextMenuListener, android.view.ViewTreeObserver.OnPreDrawListener, androidx.lifecycle.LifecycleOwner, androidx.lifecycle.ViewModelStoreOwner, TuSdkOrientationEventListener.TuSdkOrientationDelegate , TuSdkNavigatorBar.TuSdkNavigatorBarDelegate , TuStickerChooseFragment.TuStickerChooseFragmentDelegate , TuStickerOnlineFragment.TuStickerOnlineFragmentDelegate , StickerBarView.StickerBarViewDelegate
public class TuEditStickerFragment
extends TuEditStickerFragmentBase
implements TuStickerOnlineFragment.TuStickerOnlineFragmentDelegate, TuStickerChooseFragment.TuStickerChooseFragmentDelegate, StickerBarView.StickerBarViewDelegate
图片编辑贴纸选择控制器
android.view.View onCreateView (android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState) onStickerBarViewEmpty ( StickerBarView view, StickerCategory cate)
选择一个空分类
onStickerBarViewSelected ( StickerBarView view, StickerData data)
选中一个贴纸数据
onTuStickerChooseFragmentSelected ( TuStickerChooseFragment fragment, StickerData data) onTuStickerOnlineFragmentSelected ( TuStickerOnlineFragment fragment, StickerData data)
选中一个贴纸
setCategories (java.util.List< StickerCategory > mCategories)
贴纸分类列表
setDelegate ( TuEditStickerFragment.TuEditStickerFragmentDelegate mDelegate)
图片编辑贴纸选择控制器委托
setGridHeight (int mGridHeight)
单元格高度
setGridLayoutId (int mGridLayoutId)
单元格布局资源ID
setGridPadding (int mGridPadding)
单元格间距
setGridWidth (int mGridWidth)
单元格宽度
protected void setImageRegionMask (android.graphics.Bitmap image)
设置图片选区遮罩
setStickerViewDelegate ( StickerView.StickerViewDelegate mStickerViewDelegate)
贴纸视图委托
protected void viewDidLoad (android.view.ViewGroup view)
初始化视图

从类继承的方法 org.lasque.tusdk.impl.activity. TuImageResultFragment

asyncLoadImage , getCuterImage , getCuterImage , getImage , getImageDisplaySize , getImageSqlInfo , getPreview , getTempFilePath , handleTest , isAutoRemoveTemp , isShowResultPreview , loadImageWithThread , loadOrginImage , onDestroyView , postProcessWithImage , preProcessWithImage , processingImage , setAutoRemoveTemp , setImage , setImageSqlInfo , setShowResultPreview , setTempFilePath , showResultPreview

从类继承的方法 org.lasque.tusdk.impl.activity. TuResultFragment

addWaterMarkToImage , asyncProcessingIfNeedSave , backUIThreadNotifyProcessing , canSaveFile , getOutputCompress , getSaveToAlbumName , getWaterMarkOption , isSaveToAlbum , isSaveToTemp , saveToAlbum , saveToTemp , setOutputCompress , setSaveToAlbum , setSaveToAlbumName , setSaveToTemp , setWaterMarkOption

从类继承的方法 org.lasque.tusdk.impl.activity. TuFragment

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

从类继承的方法 org.lasque.tusdk.core.activity. TuSdkFragment

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 , navigatorBarLoaded , navigatorBarRightAction , 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

从类继承的方法 androidx.fragment.app.Fragment

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

setDelegate

public void setDelegate(TuEditStickerFragment.TuEditStickerFragmentDelegate mDelegate)
图片编辑贴纸选择控制器委托

onCreateView

public android.view.View onCreateView(android.view.LayoutInflater inflater,
                                      android.view.ViewGroup container,
                                      android.os.Bundle savedInstanceState)
从类复制的说明: TuFragment
onCreateView 在类中 TuFragment

asyncNotifyProcessing

protected boolean asyncNotifyProcessing(TuSdkResult result)
异步通知处理结果
asyncNotifyProcessing 在类中 TuResultFragment
result - SDK处理结果
是否截断默认处理逻辑 (默认: false, 设置为True时使用自定义处理逻辑)

setStickerViewDelegate

public void setStickerViewDelegate(StickerView.StickerViewDelegate mStickerViewDelegate)
贴纸视图委托

viewDidLoad

protected void viewDidLoad(android.view.ViewGroup view)
从类复制的说明: TuSdkFragment
初始化视图
viewDidLoad 在类中 TuEditStickerFragmentBase

asyncLoadImageCompleted

protected void asyncLoadImageCompleted(android.graphics.Bitmap image)
异步加载图片完成
asyncLoadImageCompleted 在类中 TuImageResultFragment

onTuStickerChooseFragmentSelected

public void onTuStickerChooseFragmentSelected(TuStickerChooseFragment fragment,
                                              StickerData data)
onTuStickerChooseFragmentSelected 在接口中 TuStickerChooseFragment.TuStickerChooseFragmentDelegate
fragment - 控制器
data - 贴纸元素

onTuStickerOnlineFragmentSelected

public void onTuStickerOnlineFragmentSelected(TuStickerOnlineFragment fragment,
                                              StickerData data)
选中一个贴纸
onTuStickerOnlineFragmentSelected 在接口中 TuStickerOnlineFragment.TuStickerOnlineFragmentDelegate
fragment - 在线贴纸控制器
data - 贴纸数据

onStickerBarViewSelected

public void onStickerBarViewSelected(StickerBarView view,
                                     StickerData data)
选中一个贴纸数据
onStickerBarViewSelected 在接口中 StickerBarView.StickerBarViewDelegate
view - 贴纸栏视图
data - 贴纸数据

onStickerBarViewEmpty

public void onStickerBarViewEmpty(StickerBarView view,
                                  StickerCategory cate)
选择一个空分类
onStickerBarViewEmpty 在接口中 StickerBarView.StickerBarViewDelegate