summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-09 11:36:26 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-09 11:36:26 +0100
commitc519b3f99d5b03f8c52c8d881033c8d5ec6b8b6a (patch)
treea57a036734a1c7e4b6c854c24306d6c87e8e6c5d
parent9ae95694db46e95f8d0ae9f9ea0a49d2005fd250 (diff)
Modified News object and val industryNews
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/MainActivity.kt2
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/News.kt4
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