1

I want to override Dialog so that it disposes itself the very moment it shows.

skaffman
  • 398,947
  • 96
  • 818
  • 769
Demian Kasier
  • 2,475
  • 6
  • 30
  • 40

1 Answers1

1

though it is a strange question, but you can override onShow() or onShowCompleted() and call dispose() inside one of them to close the dialog immediately.

Mahdi Hijazi
  • 4,424
  • 3
  • 24
  • 29