File tree 3 files changed +10
-8
lines changed
lib/src/main/java/com/kirkbushman/zammad/models
sampleapp/src/main/res/layout
3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ data class OnlineNotification(
19
19
val objId : Int ,
20
20
21
21
@Json(name = " object" )
22
- val objectType : String ,
22
+ val objectType : String? ,
23
23
24
24
@Json(name = " type" )
25
- val type : NotificationType ,
25
+ val type : NotificationType ? ,
26
26
27
27
@Json(name = " seen" )
28
28
val seen : Boolean ,
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .coordinatorlayout.widget.CoordinatorLayout
3
- xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ <androidx .coordinatorlayout.widget.CoordinatorLayout xmlns : android =" http://schemas.android.com/apk/res/android"
4
3
xmlns : tools =" http://schemas.android.com/tools"
5
4
android : layout_width =" match_parent"
6
5
android : layout_height =" match_parent"
6
+ xmlns : app =" http://schemas.android.com/apk/res-auto"
7
7
tools : context =" .MainActivity" >
8
8
9
9
<com .google.android.material.appbar.AppBarLayout
14
14
<androidx .appcompat.widget.Toolbar
15
15
android : id =" @+id/toolbar"
16
16
android : layout_width =" match_parent"
17
- android : layout_height =" ?attr/actionBarSize" />
17
+ android : layout_height =" ?attr/actionBarSize"
18
+ app : title =" @string/app_name" />
18
19
19
20
</com .google.android.material.appbar.AppBarLayout>
20
21
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
- android : orientation =" vertical"
4
- android : layout_width =" match_parent"
5
- android : layout_height =" wrap_content" >
3
+ android : id =" @+id/container"
4
+ android : orientation =" vertical"
5
+ android : layout_width =" match_parent"
6
+ android : layout_height =" wrap_content" >
6
7
7
8
<TextView
8
9
android : id =" @+id/overview_name"
You can’t perform that action at this time.
0 commit comments