public class GameCenterDialog
extends androidx.fragment.app.DialogFragment
implements androidx.viewpager.widget.ViewPager.OnPageChangeListener
限定符和类型 | 类和说明 |
---|---|
class |
GameCenterDialog.MyPagerAdapter |
static interface |
GameCenterDialog.OnItemClickListener |
构造器和说明 |
---|
GameCenterDialog() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<GameCenterInfo> |
getListByPosition(java.util.List<GameCenterInfo> mData,
int position,
java.util.List<GameCenterInfo> resultData) |
void |
initView() |
static GameCenterDialog |
newInstance(java.util.List<ConfigEntry> subFoldList,
java.util.List<GameCenterInfo> mData,
GameCenterDialog.OnItemClickListener onItemClickListener,
java.lang.String vid,
java.lang.String hostId) |
void |
onCreate(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDestroy() |
void |
onPageScrolled(int position,
float positionOffset,
int positionOffsetPixels) |
void |
onPageScrollStateChanged(int state) |
void |
onPageSelected(int position) |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
protected void |
setDataAndRefresh(java.util.List<GameCenterInfo> mData) |
dismiss, dismissAllowingStateLoss, getDialog, getShowsDialog, getTheme, isCancelable, onActivityCreated, onAttach, onCancel, onCreateDialog, onDestroyView, onDetach, onDismiss, onGetLayoutInflater, onSaveInstanceState, onStart, onStop, requireDialog, setCancelable, setShowsDialog, setStyle, setupDialog, show, show, showNow
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, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onResume, 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, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
public static GameCenterDialog newInstance(java.util.List<ConfigEntry> subFoldList, java.util.List<GameCenterInfo> mData, GameCenterDialog.OnItemClickListener onItemClickListener, java.lang.String vid, java.lang.String hostId)
public void onCreate(@Nullable android.os.Bundle savedInstanceState)
onCreate
在类中 androidx.fragment.app.DialogFragment
@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 onViewCreated(android.view.View view, @Nullable android.os.Bundle savedInstanceState)
onViewCreated
在类中 androidx.fragment.app.Fragment
public void onDestroy()
onDestroy
在类中 androidx.fragment.app.Fragment
public void initView()
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels)
onPageScrolled
在接口中 androidx.viewpager.widget.ViewPager.OnPageChangeListener
public void onPageSelected(int position)
onPageSelected
在接口中 androidx.viewpager.widget.ViewPager.OnPageChangeListener
public void onPageScrollStateChanged(int state)
onPageScrollStateChanged
在接口中 androidx.viewpager.widget.ViewPager.OnPageChangeListener
protected void setDataAndRefresh(java.util.List<GameCenterInfo> mData)
public java.util.List<GameCenterInfo> getListByPosition(java.util.List<GameCenterInfo> mData, int position, java.util.List<GameCenterInfo> resultData)