public class WebViewFragment extends BaseFra
BaseFra.TopType
限定符和类型 | 字段和说明 |
---|---|
protected JsInterfaceBase |
actJavascriptInterface |
protected boolean |
isHideClose |
protected boolean |
isShareToolbarShow |
protected boolean |
isShow |
protected int |
mBottomBtnType |
protected boolean |
mIsEnableHostReplace |
protected boolean |
mNeedHideTitleBar |
protected JSShareFragment |
mShareFragment |
protected java.lang.String |
mTitleTxt |
protected android.widget.TextView |
mTitlteTV |
protected android.view.View |
mTouchMask |
protected java.lang.String |
mUrl |
protected com.app.common.webview.LiveWebView |
mWebView |
protected android.view.View |
rootView |
protected android.widget.FrameLayout |
webViewContainer |
protected WebViewFragmentEventCallback |
webViewFragmentEventCallback |
act, DEFAULT_TYPE_FROME, mBaseHandler, mInitPresenter, mIsCheez, mLastClickTsMs, mRootView, mStartupController, TYPE_FROME_COIN, TYPE_FROME_FANS, TYPE_FROME_STAR
构造器和说明 |
---|
WebViewFragment() |
限定符和类型 | 方法和说明 |
---|---|
void |
finish() |
protected int |
getBackgroundColor() |
protected JsInterfaceBase.OnJSCallBack |
getOnJsCallBack() |
void |
hideStandardKeyboard() |
protected void |
initWebView() |
boolean |
isShow() |
static WebViewFragment |
newInstance(boolean isEnableHostReplace,
java.lang.String mUrl,
boolean mNeedHideTitleBar,
java.lang.String mTitleTxt,
boolean isHideClose,
int mBottomBtnType,
WebViewFragmentEventCallback callback) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDestroy() |
void |
onResume() |
boolean |
onTouchMaskView() |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
protected void |
setWebViewBackground() |
void |
setWebViewFragmentEventCallback(WebViewFragmentEventCallback callback) |
generateNetworkLiveData, getDescription, getHttpMsgTag, getInitOnceLoginOrNotRunnable, getInitOnceMustLoginRunnable, getInitRepeatLoginOrNotRunnable, getInitRepeatMustLoginRunnable, getThreadInfo, hasNetRequest, hideLoading, initPresenter, isAccountLogin, isActivityAlive, isCancelHttpMsgWhenPageDestroy, isFinish2, 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, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDestroyView, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, 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
protected boolean mIsEnableHostReplace
protected java.lang.String mUrl
protected com.app.common.webview.LiveWebView mWebView
protected android.widget.FrameLayout webViewContainer
protected android.view.View rootView
protected android.widget.TextView mTitlteTV
protected boolean mNeedHideTitleBar
protected java.lang.String mTitleTxt
protected JsInterfaceBase actJavascriptInterface
protected JSShareFragment mShareFragment
protected android.view.View mTouchMask
protected boolean isShareToolbarShow
protected boolean isHideClose
protected int mBottomBtnType
protected boolean isShow
protected WebViewFragmentEventCallback webViewFragmentEventCallback
public static WebViewFragment newInstance(boolean isEnableHostReplace, java.lang.String mUrl, boolean mNeedHideTitleBar, java.lang.String mTitleTxt, boolean isHideClose, int mBottomBtnType, WebViewFragmentEventCallback callback)
public void setWebViewFragmentEventCallback(WebViewFragmentEventCallback callback)
@Nullable public android.view.View onCreateView(android.view.LayoutInflater inflater, @Nullable 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 onResume()
onResume
在类中 androidx.fragment.app.Fragment
protected void setWebViewBackground()
protected int getBackgroundColor()
protected void initWebView()
public boolean onTouchMaskView()
public void hideStandardKeyboard()
protected JsInterfaceBase.OnJSCallBack getOnJsCallBack()