Convert MarkdownEditView to Kotlin
This commit is contained in:
parent
2a8d85319e
commit
7a08426334
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