Git Product home page Git Product logo

Comments (3)

kongzue avatar kongzue commented on July 17, 2024

目前仅部分提示性对话框不适用。原因很简单,正常逻辑下等待对话框需要在等待完成时手动dismiss,提示对话框会自动在三秒后dismiss

from dialog.

HuaZaiWuDi avatar HuaZaiWuDi commented on July 17, 2024

但是这个你把物理返回键也屏蔽了,如果出现异常导致弹窗无法取消的情况,用户只能杀死APP了,甚至有些用户都不知道如何杀死APP,这个时候对于APP是比崩溃还要恐怖的BUG

from dialog.

kongzue avatar kongzue commented on July 17, 2024

Waitdialog和TipDialog支持setCanCancel(boolean)设置单次可否取消,也支持setCanCancelGlobal(boolean)设置全局是否允许返回关闭,详情请参考文档

from dialog.

Related Issues (20)

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.