public class ShopLiveHomeFragment
extends com.app.user.fra.BaseFra
限定符和类型 | 类和说明 |
---|---|
class |
ShopLiveHomeFragment.ViewPagerAdapter |
限定符和类型 | 字段和说明 |
---|---|
boolean |
isLoyalUser |
protected com.app.record.game.smarttablayout.SmartTabLayout |
mSmartTabLayout |
static int |
sHomePageID |
构造器和说明 |
---|
ShopLiveHomeFragment() |
限定符和类型 | 方法和说明 |
---|---|
int |
findViewPagerIndexByTabType(ShopHomeTabUtil.TabType tabType)
根据指定的页面类型找到在viewpager中的位置
|
androidx.fragment.app.Fragment |
getCurrentFragment() |
ShopHomeTabUtil.TabType |
getCurrentTabType()
获取当前顶部导航所在的tab类型
|
int |
getCurrIndex() |
boolean |
isFragmentShowing(java.lang.Class fragmentClass) |
void |
onClickTab(int position)
点击了某个tab
|
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDestroy() |
void |
onDestroyView() |
void |
onPause() |
void |
onResume() |
void |
onStart() |
void |
onStop() |
static com.kxsimon.video.chat.bean.MsgTokenBean |
parseResultopen(java.lang.Object jsonObject,
int result)
获取解析对象
|
void |
reportSOpen(android.content.Context context,
java.lang.String userid) |
void |
setContentView(android.view.View view) |
void |
setCurrentItem(int item) |
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, 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, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onSaveInstanceState, 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 boolean isLoyalUser
protected com.app.record.game.smarttablayout.SmartTabLayout mSmartTabLayout
public static int sHomePageID
@Nullable public android.view.View onCreateView(android.view.LayoutInflater inflater, @Nullable android.view.ViewGroup container, @Nullable android.os.Bundle savedInstanceState)
onCreateView
在类中 androidx.fragment.app.Fragment
public void setContentView(android.view.View view)
public void onResume()
onResume
在类中 androidx.fragment.app.Fragment
public void onPause()
onPause
在类中 androidx.fragment.app.Fragment
public void onDestroyView()
onDestroyView
在类中 androidx.fragment.app.Fragment
public void onDestroy()
onDestroy
在类中 com.app.user.fra.BaseFra
public void onStop()
onStop
在类中 androidx.fragment.app.Fragment
public void onStart()
onStart
在类中 androidx.fragment.app.Fragment
public boolean isFragmentShowing(java.lang.Class fragmentClass)
public void setCurrentItem(int item)
public int findViewPagerIndexByTabType(ShopHomeTabUtil.TabType tabType)
tabType
- 使用已定义值 ShopHomeTabUtil.TabType
public ShopHomeTabUtil.TabType getCurrentTabType()
public int getCurrIndex()
public androidx.fragment.app.Fragment getCurrentFragment()
public void onClickTab(int position)
position
- public void reportSOpen(android.content.Context context, java.lang.String userid)
public static com.kxsimon.video.chat.bean.MsgTokenBean parseResultopen(java.lang.Object jsonObject, int result)
jsonObject
- result
-