31 lines
612 B
Kotlin
31 lines
612 B
Kotlin
|
package cy.agorise.crystalwallet.dialogs.material
|
||
|
|
||
|
import android.app.Activity
|
||
|
import cy.agorise.crystalwallet.R
|
||
|
import kotlinx.android.synthetic.main.account_seed_list.view.*
|
||
|
|
||
|
|
||
|
/*
|
||
|
* Dialog material that shows loading gif and and explicit message
|
||
|
* */
|
||
|
open class CrystalDialog : DialogMaterial{
|
||
|
|
||
|
constructor(activity: Activity) : super(activity) {
|
||
|
|
||
|
/*
|
||
|
* Prepare the dialog
|
||
|
* */
|
||
|
this.builder.title("")
|
||
|
this.builder.content("")
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* Internal interfaces
|
||
|
* */
|
||
|
interface PositiveResponse{
|
||
|
fun onPositive()
|
||
|
}
|
||
|
interface NegativeResponse{
|
||
|
fun onNegative()
|
||
|
}
|