Skip to content
#

toast

Here are 1,120 public repositories matching this topic...

该项目是为了解决 MIUI系统上,Toast弹窗被禁止导致 无法正确提示用户的问题。该项目中,研究了并模仿了系统原生Toast的实现原理,写出一个 基于Dialog的Toast实现(为何要基于Dialog而不基于原生Toast的实现,具体原因请看代码注释)。主要模仿了Toast的两大方面:1.接口,该项目所实现的Toast,公共接口完全和原生Toast的接口一致,便于对原生Toast的替换;2.Toast消息队列的维护,这是核心的地方,因为这决定了一个Toast的出现时间和消失时间,以及当有多个Toast时,对每个Toast的出现顺序做控制。

  • Updated Mar 17, 2017
  • Java

Forget Android Toast! BalloonPopup displays a round or squared popup and attaches it to a View, like a callout. Uses the Builder pattern for maximum ease. The popup can automatically hide and can persist when the value is updated.

  • Updated Mar 29, 2017
  • Java

Improve this page

Add a description, image, and links to the toast topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the toast topic, visit your repo's landing page and select "manage topics."

Learn more