I have 开发者_运维知识库a problem, I need to make screenshots of WebView in different sizes at once (in portrait and lanscape) and make it fast.
So, to make a screenshot I change WebView's layout params, and call invalidate(), as you know it works asynchronously and will take effect at some moment later.
How can I determine moment when WebView applied new layout params and ready to make screenshot?
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论