diff --git a/lib/src/main/java/com/kirkbushman/zammad/models/OnlineNotification.kt b/lib/src/main/java/com/kirkbushman/zammad/models/OnlineNotification.kt index bcdbb90..19f9fc4 100644 --- a/lib/src/main/java/com/kirkbushman/zammad/models/OnlineNotification.kt +++ b/lib/src/main/java/com/kirkbushman/zammad/models/OnlineNotification.kt @@ -19,10 +19,10 @@ data class OnlineNotification( val objId: Int, @Json(name = "object") - val objectType: String, + val objectType: String?, @Json(name = "type") - val type: NotificationType, + val type: NotificationType?, @Json(name = "seen") val seen: Boolean, diff --git a/sampleapp/src/main/res/layout/activity_main.xml b/sampleapp/src/main/res/layout/activity_main.xml index cebb313..f237f74 100644 --- a/sampleapp/src/main/res/layout/activity_main.xml +++ b/sampleapp/src/main/res/layout/activity_main.xml @@ -1,9 +1,9 @@ - + android:layout_height="?attr/actionBarSize" + app:title="@string/app_name" /> diff --git a/sampleapp/src/main/res/layout/item_overview.xml b/sampleapp/src/main/res/layout/item_overview.xml index 3766a9e..07d0a9a 100644 --- a/sampleapp/src/main/res/layout/item_overview.xml +++ b/sampleapp/src/main/res/layout/item_overview.xml @@ -1,8 +1,9 @@ + android:id="@+id/container" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content">