Giter VIP home page Giter VIP logo

Comments (7)

JustRight815 avatar JustRight815 commented on September 1, 2024

什么地图?其他界面有问题吗?是不是主题或者布局背景的问题

from swipebacklayouttoutiao.

xiagea avatar xiagea commented on September 1, 2024

什么地图?其他界面有问题吗?是不是主题或者布局背景的问题

高德地图,主题要修改什么吗,其他界面没问题,布局也没什么特殊的

from swipebacklayouttoutiao.

xiagea avatar xiagea commented on September 1, 2024

什么地图?其他界面有问题吗?是不是主题或者布局背景的问题

在你的demo里也加了高德地图,一样黑的

from swipebacklayouttoutiao.

JustRight815 avatar JustRight815 commented on September 1, 2024

我没有用地图测试过,周末看下吧

from swipebacklayouttoutiao.

xiagea avatar xiagea commented on September 1, 2024

我没有用地图测试过,周末看下吧

找到原因了,是调用convertActivityFromTranslucent这个方法导致的,有时间看下哈

from swipebacklayouttoutiao.

JustRight815 avatar JustRight815 commented on September 1, 2024

找到原因了,是调用convertActivityFromTranslucent这个方法导致的,有时间看下哈

调用这个方法是将透明主题的界面转换为不透明,因为透明的界面打开其他界面无法进入onstop方法,打开界面过多的话会卡顿。如果你的地图界面不再打开其他界面,你可以判断下把这个调用屏蔽掉。或者在其他时机调用这个方法。

from swipebacklayouttoutiao.

xiagea avatar xiagea commented on September 1, 2024

找到原因了,是调用convertActivityFromTranslucent这个方法导致的,有时间看下哈

调用这个方法是将透明主题的界面转换为不透明,因为透明的界面打开其他界面无法进入onstop方法,打开界面过多的话会卡顿。如果你的地图界面不再打开其他界面,你可以判断下把这个调用屏蔽掉。或者在其他时机调用这个方法。

好的,谢谢啦

from swipebacklayouttoutiao.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.