mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
Deprecate custom view methods in CordovaWebView.
They are just helper methods that plugins should just be implementing for themselves.
This commit is contained in:
parent
804dcac12f
commit
de4d7cd10d
@ -77,10 +77,22 @@ public interface CordovaWebView {
|
|||||||
|
|
||||||
void showWebPage(String errorUrl, boolean b, boolean c, Map<String, Object> params);
|
void showWebPage(String errorUrl, boolean b, boolean c, Map<String, Object> params);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Deprecated in 4.0.0. Use your own View-toggling logic.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
boolean isCustomViewShowing();
|
boolean isCustomViewShowing();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Deprecated in 4.0.0. Use your own View-toggling logic.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
void showCustomView(View view, CustomViewCallback callback);
|
void showCustomView(View view, CustomViewCallback callback);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Deprecated in 4.0.0. Use your own View-toggling logic.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
void hideCustomView();
|
void hideCustomView();
|
||||||
|
|
||||||
CordovaResourceApi getResourceApi();
|
CordovaResourceApi getResourceApi();
|
||||||
|
Loading…
Reference in New Issue
Block a user