mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 13:53:54 +01:00
Migrated OnFeedbackSubmitCallback to kotlin
This commit is contained in:
parent
62ef15068b
commit
6a508be924
1 changed files with 5 additions and 13 deletions
|
|
@ -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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue