android - how to show a custom dialog box when an activity start -


i want show custom dialog box when start first activity without using button. try search i'm not finding proper solution want do. many of them using onclick listener achieve scenario. below image showing activity dialog box, that's i'm looking without using onclick listener.

enter image description here

how can implement without using onclick listener?

any code contained in click listener works elsewhere in class (unless use view that's clicked)

create dialog in oncreate. open when activity started


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -