diff --git a/app/src/main/java/com/wbrawner/simplemarkdown/view/MarkdownEditView.java b/app/src/main/java/com/wbrawner/simplemarkdown/view/MarkdownEditView.java deleted file mode 100644 index cb5ef61..0000000 --- a/app/src/main/java/com/wbrawner/simplemarkdown/view/MarkdownEditView.java +++ /dev/null @@ -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); -} diff --git a/app/src/main/java/com/wbrawner/simplemarkdown/view/MarkdownEditView.kt b/app/src/main/java/com/wbrawner/simplemarkdown/view/MarkdownEditView.kt new file mode 100644 index 0000000..70fb0e6 --- /dev/null +++ b/app/src/main/java/com/wbrawner/simplemarkdown/view/MarkdownEditView.kt @@ -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) +}