This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.djangomx.airsale.utils.dialogs | |
import android.content.Context | |
import androidx.appcompat.app.AlertDialog | |
typealias onClickAllow = (Boolean) -> Unit | |
object Dialogs { | |
var alertDialog: AlertDialog.Builder? = null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Method in retrofit Ws | |
suspend fun getDestinyRequestR() : Response<List<ResponseDestinyRequest>> | |
// Method in repository | |
override suspend fun getDestinyRequest(): List<DestinyRequest> { | |
val response = destinyRequestWs.getDestinyRequestR() | |
//Do stuff | |
return response | |
} |
NewerOlder