diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/MainActivity.kt | 2 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/News.kt | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/MainActivity.kt b/app/src/main/java/xyz/adjutor/aniki/MainActivity.kt index 59f9a42..f4ded55 100644 --- a/app/src/main/java/xyz/adjutor/aniki/MainActivity.kt +++ b/app/src/main/java/xyz/adjutor/aniki/MainActivity.kt @@ -18,7 +18,7 @@ class MainActivity : AppCompatActivity() { Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG) .setAction("Action", null).show() } - val industryNews = News("Horror Manga Ajin Ends Nine-Year Serialization") + val industryNews = News(0,"Horror Manga Ajin Ends Nine-Year Serialization","Gamon Sakurai's Ajin (Ajin: Demi-Human) manga ended its nine-year run in the March issue of good! Afternoon on Friday.") } diff --git a/app/src/main/java/xyz/adjutor/aniki/News.kt b/app/src/main/java/xyz/adjutor/aniki/News.kt index c4e5759..dea3516 100644 --- a/app/src/main/java/xyz/adjutor/aniki/News.kt +++ b/app/src/main/java/xyz/adjutor/aniki/News.kt @@ -1,5 +1,7 @@ package xyz.adjutor.aniki data class News ( - val title: String + val id: Int, + val title: String, + val description: String )
\ No newline at end of file |