本文介绍了PictureListener和onNewPicture()是德precated - 替代品?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

的Android开发者参考说,无论是 WebView.PictureListener 接口及其 onNewPicture()的方法是去precated。

The Android Developers reference says that both the WebView.PictureListener interface and its onNewPicture() method are deprecated.

精细,但需要知道的WebView呈现一个画面依然存在。是否有其他方式来实现这一点?

Fine, but the need to know when WebView renders a picture is still there. Is there an alternative way to accomplishing this?

推荐答案

确定后仔细审查的API,看来这不能不用PictureListener完成。显然,谁去precated此功能的人并没有提供替代的。

Ok after careful review of the APIs, it seems this cannot be done without using PictureListener. Obviously the person who deprecated this feature didn't provide an alternative.

我建议你写一个bug报告 HTTP://$c$c.google.com/p/安卓/问题,并要求人们在这里的明星吧。

I suggest you write a bug report http://code.google.com/p/android/issues and ask people here to star it.

灵光

这篇关于PictureListener和onNewPicture()是德precated - 替代品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-17 17:09