diff options
Diffstat (limited to 'WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationFragment.java')
-rw-r--r-- | WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationFragment.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationFragment.java b/WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationFragment.java new file mode 100644 index 000000000..6690fd077 --- /dev/null +++ b/WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationFragment.java @@ -0,0 +1,19 @@ +/** + * Provides a list view and list adapter to display a note. It will have a header view to show + * the avatar and other details for the post. + * + * More specialized note adapters will need to be made to provide the correct views for the type + * of note/note template it has. + */ +package org.wordpress.android.ui.notifications; + +import org.wordpress.android.models.Note; + +public interface NotificationFragment { + public static interface OnPostClickListener { + public void onPostClicked(Note note, int remoteBlogId, int postId); + } + + public Note getNote(); + public void setNote(Note note); +} |