Skip to content

Commit

Permalink
Migrated OnFeedbackSubmitCallback to kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Dec 1, 2024
1 parent 62ef150 commit 6a508be
Showing 1 changed file with 5 additions and 13 deletions.
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)
}

0 comments on commit 6a508be

Please sign in to comment.