public class ReplayCommentFragment extends BaseFra implements ReplayCommentAdapter.Callback, OperationDialog.Callback
BaseFra.TopType
act, DEFAULT_TYPE_FROME, isShow, mBaseHandler, mInitPresenter, mIsCheez, mLastClickTsMs, mRootView, mStartupController, TYPE_FROME_COIN, TYPE_FROME_FANS, TYPE_FROME_STAR
构造器和说明 |
---|
ReplayCommentFragment() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<com.app.dynamic.presenter.bo.CommentBO> |
commentLikeRemove(java.util.List<com.app.dynamic.presenter.bo.CommentBO> list,
com.app.dynamic.presenter.bo.CommentBO bo) |
void |
deleteComment(com.app.dynamic.presenter.bo.CommentBO commentBO) |
int |
getCommentListHeaderHeight() |
int |
getCommentListHeight() |
boolean |
isCommentable() |
static ReplayCommentFragment |
newInstance(com.app.dynamic.presenter.bo.FeedBO feedBO,
int source) |
void |
onAttach(android.content.Context context) |
void |
onClickComment(com.app.dynamic.presenter.bo.CommentBO parentCommentBO) |
void |
onClickResendComment(com.app.dynamic.presenter.bo.CommentBO resendCommentBO) |
void |
onCreate(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDeleteComment(com.app.dynamic.presenter.bo.CommentBO commentBO) |
void |
onDetach() |
void |
onPublishComment(com.app.dynamic.presenter.bo.CommentBO parentCommentBO) |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
void |
publishComment(java.lang.String content,
com.app.dynamic.presenter.bo.CommentBO parentCommentBO) |
void |
resendComment(com.app.dynamic.presenter.bo.CommentBO commentBO) |
void |
scrollToBottom() |
void |
setBottomLayout(DynamicBottomLayout bottomLayout) |
void |
setCallback(DynamicDetailCallback mCallback) |
void |
setCommentPresenter(CommentPresenter commentPresenter) |
void |
setUserVisibleHint(boolean isVisibleToUser) |
void |
toAnchorPage(java.lang.String userId) |
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, 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, onDestroyView, 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 ReplayCommentFragment newInstance(com.app.dynamic.presenter.bo.FeedBO feedBO, int source)
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 onAttach(android.content.Context context)
onAttach
在类中 androidx.fragment.app.Fragment
public void onDetach()
onDetach
在类中 androidx.fragment.app.Fragment
public void setUserVisibleHint(boolean isVisibleToUser)
setUserVisibleHint
在类中 BaseFra
public void setBottomLayout(DynamicBottomLayout bottomLayout)
public void setCommentPresenter(CommentPresenter commentPresenter)
public void scrollToBottom()
public void publishComment(java.lang.String content, com.app.dynamic.presenter.bo.CommentBO parentCommentBO)
public void resendComment(com.app.dynamic.presenter.bo.CommentBO commentBO)
public void deleteComment(com.app.dynamic.presenter.bo.CommentBO commentBO)
public void toAnchorPage(java.lang.String userId)
toAnchorPage
在接口中 ReplayCommentAdapter.Callback
public void onClickComment(com.app.dynamic.presenter.bo.CommentBO parentCommentBO)
onClickComment
在接口中 ReplayCommentAdapter.Callback
public void onClickResendComment(com.app.dynamic.presenter.bo.CommentBO resendCommentBO)
public void onPublishComment(com.app.dynamic.presenter.bo.CommentBO parentCommentBO)
onPublishComment
在接口中 OperationDialog.Callback
public void onDeleteComment(com.app.dynamic.presenter.bo.CommentBO commentBO)
onDeleteComment
在接口中 OperationDialog.Callback
public int getCommentListHeight()
public int getCommentListHeaderHeight()
public java.util.List<com.app.dynamic.presenter.bo.CommentBO> commentLikeRemove(java.util.List<com.app.dynamic.presenter.bo.CommentBO> list, com.app.dynamic.presenter.bo.CommentBO bo)
public boolean isCommentable()
public void setCallback(DynamicDetailCallback mCallback)