We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aec6410 commit 839f755Copy full SHA for 839f755
WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragmentAbstract.java
@@ -21,6 +21,22 @@ public void onAttach(Activity activity) {
21
}
22
23
24
+ /**
25
+ * Called by the activity when back button is pressed.
26
+ */
27
+ public boolean onBackPressed() {
28
+ return false;
29
+ }
30
+
31
32
+ * The editor may need to differentiate local draft and published articles
33
+ *
34
+ * @param isLocalDraft edited post is a local draft
35
36
+ public void setLocalDraft(boolean isLocalDraft) {
37
+ // Not unused in the new editor
38
39
40
public interface EditorFragmentListener {
41
public void onSettingsClicked();
42
public void onAddMediaButtonClicked();
0 commit comments