public abstract class PreShareBaseFragment extends SnsBaseFragment implements BaseShareModule.IShareResult
SnsBaseFragment.ISNSAskPublishCallback, SnsBaseFragment.ISNSShareDirectCallback
BaseFra.TopType
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
mClickedShare |
protected android.view.View.OnClickListener |
mClickListener |
protected BaseShareModule.LiveShareData |
mShareData |
protected java.util.LinkedList<ShareResUtil.ShareResData> |
mShareDataList |
protected int[] |
mShareIconID |
protected android.widget.ImageView[] |
mShareIconView |
ShareMgr |
mShareMgr |
protected static int |
NO_DEFAULT_VALUE |
protected int |
shareIconId |
protected int |
shareIndex |
protected com.app.live.activity.VideoDataInfo |
tmpVideoInfo |
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
构造器和说明 |
---|
PreShareBaseFragment() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
allowToWeChat() |
int |
getSourceFrom() |
abstract com.app.live.activity.VideoDataInfo |
getVideoInfo() |
void |
initialShareData()
判斷是否安裝
|
protected void |
initShareView(android.view.View view)
初始化分享页面
|
void |
onCreate(android.os.Bundle savedInstanceState) |
void |
onDestroy() |
void |
onResult(boolean success,
int type) |
void |
onResume() |
abstract void |
onShareSuccess(int type) |
protected void |
resetIconState(int exceptSourceId) |
abstract void |
showLoading(boolean show) |
void |
showShareTaskReward(boolean show,
boolean remove) |
void |
unregisterWeChat() |
protected void |
updateLiveBtnText(int exceptSourceId) |
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, onRequestPermissionsResult, 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
protected final int[] mShareIconID
protected android.widget.ImageView[] mShareIconView
protected com.app.live.activity.VideoDataInfo tmpVideoInfo
public ShareMgr mShareMgr
protected java.util.LinkedList<ShareResUtil.ShareResData> mShareDataList
protected boolean mClickedShare
protected int shareIndex
protected int shareIconId
protected BaseShareModule.LiveShareData mShareData
protected static final int NO_DEFAULT_VALUE
protected android.view.View.OnClickListener mClickListener
public void onCreate(android.os.Bundle savedInstanceState)
onCreate
在类中 SnsBaseFragment
public void onResume()
onResume
在类中 androidx.fragment.app.Fragment
public void onDestroy()
onDestroy
在类中 SnsBaseFragment
public abstract com.app.live.activity.VideoDataInfo getVideoInfo()
public abstract void onShareSuccess(int type)
protected void resetIconState(int exceptSourceId)
protected void updateLiveBtnText(int exceptSourceId)
protected void initShareView(android.view.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, boolean remove)
public int getSourceFrom()
getSourceFrom
在类中 SnsBaseFragment
public boolean allowToWeChat()
public void unregisterWeChat()