app / sg.edu.ntu.scse.cz2006.gymbuddies.util / DialogHelper

DialogHelper

open class DialogHelper

DialogHelper assist creation of frequent used dialog

Author
Chia Yu

Since
2019-10-22

Constructors

<init>

DialogHelper assist creation of frequent used dialog

DialogHelper()

Functions

displayBuddyProfile

the method create dialog that display other user's profile as dialog

open static fun displayBuddyProfile(context: Context!, user: User!, drawable: Drawable!): Dialog!

displayBuildInfo

the method display application build information (for testing)

open static fun displayBuildInfo(context: Context!): Dialog!

showDialogInvalidArgs

The method display invalid messages when data received from another activity is insufficient to initialised activity.

open static fun showDialogInvalidArgs(context: Context!): Dialog!