Skip to content

Commit

Permalink
update: Refactoring Code
Browse files Browse the repository at this point in the history
  • Loading branch information
amirisback committed Feb 27, 2022
1 parent 2361e26 commit e3a737a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ package com.frogobox.coresdk
interface FrogoDataResponse<T> {

fun onSuccess(data: T)

fun onFailed(statusCode: Int, errorMessage: String? = "")

fun onShowProgress()

fun onHideProgress()

}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ package com.frogobox.coresdk
*/

interface FrogoStateResponse {

fun onSuccess()

fun onFailed(statusCode: Int, errorMessage: String? = "")

fun onShowProgress()

fun onHideProgress()

}

0 comments on commit e3a737a

Please sign in to comment.