public class CommentLikeFragment extends BaseCommentLikeFragment implements androidx.viewpager.widget.ViewPager.OnPageChangeListener, PinnedView.Callback, DynamicBottomLayout.ClickCallback
BaseFra.TopType
限定符和类型 | 字段和说明 |
---|---|
int |
mClickType |
com.app.dynamic.presenter.bo.FeedBO |
mFeedBO |
androidx.fragment.app.Fragment |
parentFragment |
static int |
SOURCE_DYNAMIC_DETAIL |
static int |
SOURCE_REPLAY |
mBottomLayout
act, DEFAULT_TYPE_FROME, isShow, mBaseHandler, mInitPresenter, mIsCheez, mLastClickTsMs, mStartupController, TYPE_FROME_COIN, TYPE_FROME_FANS, TYPE_FROME_STAR
构造器和说明 |
---|
CommentLikeFragment() |
限定符和类型 | 方法和说明 |
---|---|
void |
addOrCancelLike(boolean isLike) |
boolean |
commentLikeContain(java.util.List<com.app.dynamic.presenter.bo.LikeBO> list,
com.app.dynamic.presenter.bo.LikeBO bo) |
java.util.List<com.app.dynamic.presenter.bo.LikeBO> |
commentLikeRemove(java.util.List<com.app.dynamic.presenter.bo.LikeBO> list,
com.app.dynamic.presenter.bo.LikeBO bo) |
void |
commentLoadComplete() |
androidx.viewpager.widget.ViewPager |
getDetailViewPager() |
PinnedView |
getPinnedView() |
void |
inputTextOnClick() |
void |
likeLoadComplete() |
static CommentLikeFragment |
newInstance(com.app.dynamic.presenter.bo.FeedBO feedBO,
int source) |
static CommentLikeFragment |
newInstance(com.app.dynamic.presenter.bo.FeedBO feedBO,
int source,
int clickType) |
void |
onAttach(android.content.Context context) |
void |
onClickIndex(int index) |
void |
onCreate(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDestroyView() |
void |
onDetach() |
void |
OnHideKeyboard() |
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) |
void |
pageScroll(boolean isFirstLoad) |
void |
praiseOnClick() |
void |
sendOnClick(java.lang.String content,
com.app.dynamic.presenter.bo.CommentBO parentCommentBO) |
void |
setBottomLayout(DynamicBottomLayout bottomLayout) |
void |
setCallback(DynamicDetailCallback mCallback) |
void |
setCommentAble(int able,
boolean isFirstLoad) |
void |
shareOnClick() |
void |
updateFeedBo() |
void |
updateLikeData(com.app.dynamic.presenter.bo.FeedBO feedBO) |
close
finish, generateNetworkLiveData, getDescription, getHttpMsgTag, getInitOnceLoginOrNotRunnable, getInitOnceMustLoginRunnable, getInitRepeatLoginOrNotRunnable, getInitRepeatMustLoginRunnable, getThreadInfo, hasNetRequest, hideLoading, initPresenter, isAccountLogin, isActivityAlive, isCancelHttpMsgWhenPageDestroy, isFinish2, isShow, isShowVipBanner, isTwooProduct, isViewTokenValid, isVisitorMode, onAttach, onDestroy, 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, onActivityResult, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onResume, 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 int SOURCE_DYNAMIC_DETAIL
public static final int SOURCE_REPLAY
public int mClickType
public androidx.fragment.app.Fragment parentFragment
public com.app.dynamic.presenter.bo.FeedBO mFeedBO
public static CommentLikeFragment newInstance(com.app.dynamic.presenter.bo.FeedBO feedBO, int source)
public static CommentLikeFragment newInstance(com.app.dynamic.presenter.bo.FeedBO feedBO, int source, int clickType)
public void onAttach(android.content.Context context)
onAttach
在类中 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 void onViewCreated(android.view.View view, @Nullable android.os.Bundle savedInstanceState)
onViewCreated
在类中 BaseFra
public void onDestroyView()
onDestroyView
在类中 androidx.fragment.app.Fragment
public void onDetach()
onDetach
在类中 androidx.fragment.app.Fragment
public PinnedView getPinnedView()
public void setBottomLayout(DynamicBottomLayout bottomLayout)
public void setCommentAble(int able, boolean isFirstLoad)
public void onClickIndex(int index)
onClickIndex
在接口中 PinnedView.Callback
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
public void inputTextOnClick()
public void praiseOnClick()
public void shareOnClick()
public void sendOnClick(java.lang.String content, com.app.dynamic.presenter.bo.CommentBO parentCommentBO)
sendOnClick
在接口中 DynamicBottomLayout.ClickCallback
public void OnHideKeyboard()
public void updateLikeData(com.app.dynamic.presenter.bo.FeedBO feedBO)
public void commentLoadComplete()
public void likeLoadComplete()
public void pageScroll(boolean isFirstLoad)
public androidx.viewpager.widget.ViewPager getDetailViewPager()
public void addOrCancelLike(boolean isLike)
public void updateFeedBo()
public java.util.List<com.app.dynamic.presenter.bo.LikeBO> commentLikeRemove(java.util.List<com.app.dynamic.presenter.bo.LikeBO> list, com.app.dynamic.presenter.bo.LikeBO bo)
public boolean commentLikeContain(java.util.List<com.app.dynamic.presenter.bo.LikeBO> list, com.app.dynamic.presenter.bo.LikeBO bo)
public void setCallback(DynamicDetailCallback mCallback)