forked from commons-app/apps-android-commons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated OnFeedbackSubmitCallback to kotlin
- Loading branch information
1 parent
62ef150
commit 6a508be
Showing
1 changed file
with
5 additions
and
13 deletions.
There are no files selected for viewing
18 changes: 5 additions & 13 deletions
18
app/src/main/java/fr/free/nrw/commons/feedback/OnFeedbackSubmitCallback.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
package fr.free.nrw.commons.feedback; | ||
package fr.free.nrw.commons.feedback | ||
|
||
import fr.free.nrw.commons.feedback.model.Feedback; | ||
import fr.free.nrw.commons.feedback.model.Feedback | ||
|
||
/** | ||
* This interface is used to provide callback | ||
* from Feedback dialog whenever submit button is clicked | ||
*/ | ||
public interface OnFeedbackSubmitCallback { | ||
|
||
/** | ||
* callback function, called when user clicks on submit | ||
*/ | ||
void onFeedbackSubmit(Feedback feedback); | ||
} | ||
interface OnFeedbackSubmitCallback { | ||
fun onFeedbackSubmit(feedback: Feedback) | ||
} |