Convert MarkdownEditView to Kotlin
This commit is contained in:
parent
c8547601e6
commit
2f60ed38aa
2 changed files with 10 additions and 11 deletions
|
@ -1,11 +0,0 @@
|
|||
package com.wbrawner.simplemarkdown.view;
|
||||
|
||||
public interface MarkdownEditView {
|
||||
String getMarkdown();
|
||||
void setMarkdown(String markdown);
|
||||
void setTitle(String title);
|
||||
|
||||
void onFileSaved(boolean success);
|
||||
|
||||
void onFileLoaded(boolean success);
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package com.wbrawner.simplemarkdown.view
|
||||
|
||||
interface MarkdownEditView {
|
||||
var markdown: String
|
||||
fun setTitle(title: String)
|
||||
|
||||
fun onFileSaved(success: Boolean)
|
||||
|
||||
fun onFileLoaded(success: Boolean)
|
||||
}
|
Loading…
Reference in a new issue