public class ChatGiftBagFragmentV2 extends BaseFra implements ScrollLineTab.ITab, java.util.Observer
限定符和类型 | 类和说明 |
---|---|
static interface |
ChatGiftBagFragmentV2.OnGiftBagFindListener |
static interface |
ChatGiftBagFragmentV2.OnGiftChangeListener |
BaseFra.TopType
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
REFRESH_SELECTED |
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
构造器和说明 |
---|
ChatGiftBagFragmentV2() |
限定符和类型 | 方法和说明 |
---|---|
void |
fillUi() |
android.view.View |
getChildView()
查找到真实的展示礼物图片的view
|
com.kxsimon.video.chat.gift_v2.bean.GiftBagV2 |
getGiftBagById(java.lang.String giftId) |
com.kxsimon.video.chat.gift_v2.bean.GiftBagV2 |
getGiftBagV2ByType(int type)
定位到第一个包含该type类型物品的页面。
|
int |
getIconResSelected() |
int |
getIconResUnSelected() |
android.view.View |
getRootView() |
java.lang.String |
getTitle() |
static ChatGiftBagFragmentV2 |
newInstance(GiftBagGridView.GiftGridInterface giftGridInterface,
java.lang.String vid,
int mVtype) |
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 |
onPause() |
void |
onResume() |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
void |
requestGifts(int mVtype) |
void |
selectPage(int index) |
void |
setonGiftBagFindListener(ChatGiftBagFragmentV2.OnGiftBagFindListener mOnGiftBagFindListener) |
void |
setOnGiftChangeListener(ChatGiftBagFragmentV2.OnGiftChangeListener l) |
void |
setShowRedDot(boolean show) |
boolean |
showIcon() |
boolean |
showRedDot() |
boolean |
showSplitLine() |
void |
update(java.util.Observable o,
java.lang.Object arg) |
void |
updateUI(java.util.List<com.kxsimon.video.chat.gift_v2.bean.GiftV2> giftList,
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, 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, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDestroyView, onDetach, onGetLayoutInflater, onHiddenChanged, 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 final java.lang.String REFRESH_SELECTED
public static final java.lang.String TAG
public static ChatGiftBagFragmentV2 newInstance(GiftBagGridView.GiftGridInterface giftGridInterface, java.lang.String vid, int mVtype)
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 onConfigurationChanged(android.content.res.Configuration newConfig)
onConfigurationChanged
在接口中 android.content.ComponentCallbacks
onConfigurationChanged
在类中 androidx.fragment.app.Fragment
public void updateUI(java.util.List<com.kxsimon.video.chat.gift_v2.bean.GiftV2> giftList, GiftTabV2 giftTabV2)
updateUI
在接口中 ScrollLineTab.ITab
public void fillUi()
public void onPause()
onPause
在类中 androidx.fragment.app.Fragment
public void onResume()
onResume
在类中 androidx.fragment.app.Fragment
public void requestGifts(int mVtype)
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 update(java.util.Observable o, java.lang.Object arg)
update
在接口中 java.util.Observer
public void selectPage(int index)
public com.kxsimon.video.chat.gift_v2.bean.GiftBagV2 getGiftBagV2ByType(int type)
type
- public void setOnGiftChangeListener(ChatGiftBagFragmentV2.OnGiftChangeListener l)
public void setonGiftBagFindListener(ChatGiftBagFragmentV2.OnGiftBagFindListener mOnGiftBagFindListener)
public android.view.View getChildView()
public com.kxsimon.video.chat.gift_v2.bean.GiftBagV2 getGiftBagById(java.lang.String giftId)