Convert MarkdownEditView to Kotlin

This commit is contained in:
Billy Brawner 2019-08-17 12:40:14 -05:00 committed by William Brawner
parent c8547601e6
commit 2f60ed38aa
2 changed files with 10 additions and 11 deletions

View file

@ -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);
}

View file

@ -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)
}