public abstract class DirectShareUIFragment extends SnsBaseFragment implements BaseShareModule.IShareResult, android.view.View.OnClickListener
限定符和类型 | 类和说明 |
---|---|
static class |
DirectShareUIFragment.FromType |
SnsBaseFragment.ISNSAskPublishCallback, SnsBaseFragment.ISNSShareDirectCallback
BaseFra.TopType
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
isHost |
protected boolean |
mClickedShare |
protected java.util.LinkedList<ShareResUtil.ShareResData> |
mShareDataList |
ShareMgr |
mShareMgr |
protected int |
mShareSource |
protected int |
mShareTo |
protected ShortVidWatermarkManager |
mWatermarkMgr |
static java.lang.String |
URL_CAP_DEFAULT |
SNS_DIRECT_TYPE_FACEBOOK, SNS_DIRECT_TYPE_TWITTER
act, DEFAULT_TYPE_FROME, isShow, mBaseHandler, mInitPresenter, mIsCheez, mLastClickTsMs, mRootView, mStartupController, TYPE_FROME_COIN, TYPE_FROME_FANS, TYPE_FROME_STAR
构造器和说明 |
---|
DirectShareUIFragment() |
限定符和类型 | 方法和说明 |
---|---|
static int |
dip2px(android.content.Context context,
float dpValue) |
int |
getmShareScenes() |
int |
getmShareVidType() |
java.util.LinkedList<ShareResUtil.ShareResData> |
getShareDataList() |
abstract int |
getShareScenes() |
java.lang.String |
getShortId() |
abstract com.app.live.activity.VideoDataInfo |
getVideoInfo() |
abstract int |
getVidType() |
void |
initialShareData()
分享方式排序,将未安装的APP往后排
|
protected void |
initShareView(android.view.View view)
初始化分享页面
|
protected void |
initShareViewNew(android.view.View view) |
protected void |
initShareViewNoTitle(android.view.View view) |
void |
makeChildrenInvisible(android.view.View view) |
void |
onClick(android.view.View v) |
void |
onCreate(android.os.Bundle savedInstanceState) |
void |
onDestroy() |
void |
onRequestPermissionsResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults) |
void |
onResult(boolean success,
int type) |
abstract void |
onShareSuccess(int type) |
void |
setEatGameScore(int score) |
void |
setmShareScenes(int mShareScenes) |
void |
setmShareVidType(int mShareVidType) |
void |
setShareSource(int shareSource) |
void |
setShortId(java.lang.String shortId) |
void |
shareInsProgress(int progress) |
void |
shareInsWatermarkFailed() |
void |
show(java.lang.Boolean isShow) |
abstract void |
showLoading(boolean show) |
void |
showShareInsProgress(boolean show) |
void |
showShareTaskReward(boolean show) |
getSourceFrom, onActivityResult
finish, generateNetworkLiveData, getDescription, getHttpMsgTag, getInitOnceLoginOrNotRunnable, getInitOnceMustLoginRunnable, getInitRepeatLoginOrNotRunnable, getInitRepeatMustLoginRunnable, getThreadInfo, hasNetRequest, hideLoading, initPresenter, isAccountLogin, isActivityAlive, isCancelHttpMsgWhenPageDestroy, isFinish2, isShow, isShowVipBanner, isTwooProduct, isViewTokenValid, isVisitorMode, onAttach, onInitNotImportantCode, onNetRequestEnd, onNetRequestStart, onShareClickForMatch, onStartupCompleted, onViewCreated, runOnUiThread, runOnUiThreadDelay, setUserVisibleHint, showLoading, showLoading, showLoading
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getDefaultViewModelProviderFactory, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getParentFragmentManager, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, 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, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onCreateView, onDestroyOptionsMenu, onDestroyView, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onResume, onSaveInstanceState, onStart, onStop, onViewStateRestored, postponeEnterTransition, postponeEnterTransition, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
public ShareMgr mShareMgr
protected java.util.LinkedList<ShareResUtil.ShareResData> mShareDataList
protected boolean mClickedShare
protected int mShareTo
protected ShortVidWatermarkManager mWatermarkMgr
protected int mShareSource
protected boolean isHost
public static final java.lang.String URL_CAP_DEFAULT
public void onCreate(android.os.Bundle savedInstanceState)
onCreate
在类中 SnsBaseFragment
public void onDestroy()
onDestroy
在类中 SnsBaseFragment
public int getmShareScenes()
public void setmShareScenes(int mShareScenes)
public int getmShareVidType()
public void setmShareVidType(int mShareVidType)
public abstract com.app.live.activity.VideoDataInfo getVideoInfo()
public abstract void onShareSuccess(int type)
public void shareInsProgress(int progress)
public void shareInsWatermarkFailed()
public void showShareInsProgress(boolean show)
public void setShortId(java.lang.String shortId)
public java.lang.String getShortId()
public void onClick(android.view.View v)
onClick
在接口中 android.view.View.OnClickListener
protected void initShareView(android.view.View view)
view
- protected void initShareViewNew(android.view.View view)
protected void initShareViewNoTitle(android.view.View view)
public java.util.LinkedList<ShareResUtil.ShareResData> getShareDataList()
public void makeChildrenInvisible(android.view.View view)
public void onResult(boolean success, int type)
onResult
在接口中 BaseShareModule.IShareResult
public void initialShareData()
public abstract void showLoading(boolean show)
public void showShareTaskReward(boolean show)
public static int dip2px(android.content.Context context, float dpValue)
public void setEatGameScore(int score)
public abstract int getShareScenes()
public abstract int getVidType()
public void onRequestPermissionsResult(int requestCode, @NonNull java.lang.String[] permissions, @NonNull int[] grantResults)
onRequestPermissionsResult
在类中 androidx.fragment.app.Fragment
public void setShareSource(int shareSource)
public void show(java.lang.Boolean isShow)