What is equivalent to defaultDisplay.getRealSize(point) in api 30?

后端 未结 0 1061
梦如初夏
梦如初夏 2021-02-08 12:46

In api level 30 defaultDisplay is deprecated. So we need to use currentWindowMetrics. But there is no any getRealSize method in it. What will be equivalent to code:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题