public class ChatGiftTabFragmentV2 extends BaseFra implements ScrollLineTab.ITab, java.util.Observer
限定符和类型 | 类和说明 |
---|---|
static interface |
ChatGiftTabFragmentV2.GiftTabListener |
BaseFra.TopType
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
TAG |
act, DEFAULT_TYPE_FROME, isShow, mBaseHandler, mInitPresenter, mIsCheez, mLastClickTsMs, mRootView, mStartupController, TYPE_FROME_COIN, TYPE_FROME_FANS, TYPE_FROME_STAR
构造器和说明 |
---|
ChatGiftTabFragmentV2() |
限定符和类型 | 方法和说明 |
---|---|
int |
getIconResSelected() |
int |
getIconResUnSelected() |
int |
getPageIndex() |
int |
getPageIndexForGiftPosition(int giftPosition) |
android.view.View |
getRootView() |
int |
getTabType() |
java.lang.String |
getTitle() |
boolean |
getUserVisibleHint() |
boolean |
isDefault() |
static ChatGiftTabFragmentV2 |
newInstance(GiftTabV2 giftTabV2,
GiftGridView.GiftGridInterface giftGridInterface,
ChatGiftTabFragmentV2.GiftTabListener giftTabListener) |
void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
void |
onConfigurationChanged(android.content.res.Configuration newConfig) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDestroy() |
void |
onHiddenChanged(boolean hidden) |
void |
onPause() |
void |
onResume() |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
void |
setCurrentGiftPage(int pageIdx) |
void |
setLastGift(com.kxsimon.video.chat.gift_v2.GiftDisplayObservable.IGiftDisplay lastGift) |
void |
setPageIndex(int i) |
void |
setShowMe(boolean isShowMe) |
void |
setShowRedDot(boolean show) |
void |
setUserVisibleHint(boolean isVisibleToUser) |
boolean |
showIcon() |
boolean |
showRedDot() |
boolean |
showSplitLine() |
void |
switchGiftForIndex(int index) |
void |
update(java.util.Observable o,
java.lang.Object arg) |
void |
updateLayoutForPage(int itemNumForOnePage,
int itemNumForOneColumn) |
void |
updateUI(java.util.List<com.kxsimon.video.chat.gift_v2.bean.GiftV2> mGiftList,
GiftTabV2 giftTabV2) |
finish, generateNetworkLiveData, getDescription, getHttpMsgTag, getInitOnceLoginOrNotRunnable, getInitOnceMustLoginRunnable, getInitRepeatLoginOrNotRunnable, getInitRepeatMustLoginRunnable, getThreadInfo, hasNetRequest, hideLoading, initPresenter, isAccountLogin, isActivityAlive, isCancelHttpMsgWhenPageDestroy, isFinish2, isShow, isShowVipBanner, isTwooProduct, isViewTokenValid, isVisitorMode, onAttach, onCreate, onInitNotImportantCode, onNetRequestEnd, onNetRequestStart, onShareClickForMatch, onStartupCompleted, runOnUiThread, runOnUiThreadDelay, 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, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityCreated, onAttach, onAttachFragment, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDestroyView, onDetach, onGetLayoutInflater, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, 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
public static ChatGiftTabFragmentV2 newInstance(GiftTabV2 giftTabV2, GiftGridView.GiftGridInterface giftGridInterface, ChatGiftTabFragmentV2.GiftTabListener giftTabListener)
public void setShowMe(boolean isShowMe)
public void setLastGift(com.kxsimon.video.chat.gift_v2.GiftDisplayObservable.IGiftDisplay lastGift)
public java.lang.String getTitle()
getTitle
在接口中 ScrollLineTab.ITab
public boolean showIcon()
showIcon
在接口中 ScrollLineTab.ITab
public int getIconResSelected()
getIconResSelected
在接口中 ScrollLineTab.ITab
public int getIconResUnSelected()
getIconResUnSelected
在接口中 ScrollLineTab.ITab
public boolean showRedDot()
showRedDot
在接口中 ScrollLineTab.ITab
public boolean showSplitLine()
showSplitLine
在接口中 ScrollLineTab.ITab
public void setShowRedDot(boolean show)
setShowRedDot
在接口中 ScrollLineTab.ITab
public void onActivityResult(int requestCode, int resultCode, android.content.Intent data)
onActivityResult
在类中 androidx.fragment.app.Fragment
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
onCreateView
在类中 androidx.fragment.app.Fragment
public android.view.View getRootView()
public void onViewCreated(android.view.View view, android.os.Bundle savedInstanceState)
onViewCreated
在类中 BaseFra
public void switchGiftForIndex(int index)
public void setUserVisibleHint(boolean isVisibleToUser)
setUserVisibleHint
在类中 BaseFra
public void onConfigurationChanged(android.content.res.Configuration newConfig)
onConfigurationChanged
在接口中 android.content.ComponentCallbacks
onConfigurationChanged
在类中 androidx.fragment.app.Fragment
public void updateLayoutForPage(int itemNumForOnePage, int itemNumForOneColumn)
public void setPageIndex(int i)
public int getPageIndex()
public void updateUI(java.util.List<com.kxsimon.video.chat.gift_v2.bean.GiftV2> mGiftList, GiftTabV2 giftTabV2)
updateUI
在接口中 ScrollLineTab.ITab
public int getPageIndexForGiftPosition(int giftPosition)
public void setCurrentGiftPage(int pageIdx)
public void onPause()
onPause
在类中 androidx.fragment.app.Fragment
public void onResume()
onResume
在类中 androidx.fragment.app.Fragment
public void update(java.util.Observable o, java.lang.Object arg)
update
在接口中 java.util.Observer
public void onHiddenChanged(boolean hidden)
onHiddenChanged
在类中 androidx.fragment.app.Fragment
public boolean getUserVisibleHint()
getUserVisibleHint
在类中 androidx.fragment.app.Fragment
public boolean isDefault()
public int getTabType()