Add headerImageUrl to NewsResource

Change-Id: I275045a35aff3537a5aca3f48b82e8d9508f4124
pull/2/head
Don Turner 3 years ago
parent 57f478b7c1
commit 396f6eb07d

@ -27,6 +27,13 @@ android {
defaultConfig {
minSdk buildConfig.minSdk
targetSdk buildConfig.targetSdk
// The schemas directory contains a schema file for each version of the Room database.
// This is required to enable Room auto migrations.
// See https://developer.android.com/reference/kotlin/androidx/room/AutoMigration.
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8

@ -0,0 +1,360 @@
{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "004a7c73c822c1e23e409f8160e69317",
"entities": [
{
"tableName": "authors",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `image_url` TEXT NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "imageUrl",
"columnName": "image_url",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": false
},
"indices": [
{
"name": "index_authors_name",
"unique": true,
"columnNames": [
"name"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_authors_name` ON `${TABLE_NAME}` (`name`)"
}
],
"foreignKeys": []
},
{
"tableName": "episodes_authors",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`episode_id` INTEGER NOT NULL, `author_id` INTEGER NOT NULL, PRIMARY KEY(`episode_id`, `author_id`), FOREIGN KEY(`episode_id`) REFERENCES `episodes`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`author_id`) REFERENCES `authors`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "episodeId",
"columnName": "episode_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "authorId",
"columnName": "author_id",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"episode_id",
"author_id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": [
{
"table": "episodes",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"episode_id"
],
"referencedColumns": [
"id"
]
},
{
"table": "authors",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"author_id"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "episodes",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `publish_date` INTEGER NOT NULL, `alternate_video` TEXT, `alternate_audio` TEXT, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "publishDate",
"columnName": "publish_date",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "alternateVideo",
"columnName": "alternate_video",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "alternateAudio",
"columnName": "alternate_audio",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "news_resources_authors",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`news_resource_id` INTEGER NOT NULL, `author_id` INTEGER NOT NULL, PRIMARY KEY(`news_resource_id`, `author_id`), FOREIGN KEY(`news_resource_id`) REFERENCES `news_resources`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`author_id`) REFERENCES `authors`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "newsResourceId",
"columnName": "news_resource_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "authorId",
"columnName": "author_id",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"news_resource_id",
"author_id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": [
{
"table": "news_resources",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"news_resource_id"
],
"referencedColumns": [
"id"
]
},
{
"table": "authors",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"author_id"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "news_resources",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `episode_id` INTEGER NOT NULL, `title` TEXT NOT NULL, `content` TEXT NOT NULL, `url` TEXT NOT NULL, `publish_date` INTEGER NOT NULL, `type` TEXT NOT NULL, PRIMARY KEY(`id`), FOREIGN KEY(`episode_id`) REFERENCES `episodes`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "episodeId",
"columnName": "episode_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "content",
"columnName": "content",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "url",
"columnName": "url",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "publishDate",
"columnName": "publish_date",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "type",
"columnName": "type",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": [
{
"table": "episodes",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"episode_id"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "news_resources_topics",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`news_resource_id` INTEGER NOT NULL, `topic_id` INTEGER NOT NULL, PRIMARY KEY(`news_resource_id`, `topic_id`), FOREIGN KEY(`news_resource_id`) REFERENCES `news_resources`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`topic_id`) REFERENCES `topics`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "newsResourceId",
"columnName": "news_resource_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "topicId",
"columnName": "topic_id",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"news_resource_id",
"topic_id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": [
{
"table": "news_resources",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"news_resource_id"
],
"referencedColumns": [
"id"
]
},
{
"table": "topics",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"topic_id"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "topics",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `description` TEXT NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "description",
"columnName": "description",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": false
},
"indices": [
{
"name": "index_topics_name",
"unique": true,
"columnNames": [
"name"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_topics_name` ON `${TABLE_NAME}` (`name`)"
}
],
"foreignKeys": []
}
],
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '004a7c73c822c1e23e409f8160e69317')"
]
}
}

@ -0,0 +1,366 @@
{
"formatVersion": 1,
"database": {
"version": 2,
"identityHash": "5a10933609b5b8c099a04b971b4d12d9",
"entities": [
{
"tableName": "authors",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `image_url` TEXT NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "imageUrl",
"columnName": "image_url",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": false
},
"indices": [
{
"name": "index_authors_name",
"unique": true,
"columnNames": [
"name"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_authors_name` ON `${TABLE_NAME}` (`name`)"
}
],
"foreignKeys": []
},
{
"tableName": "episodes_authors",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`episode_id` INTEGER NOT NULL, `author_id` INTEGER NOT NULL, PRIMARY KEY(`episode_id`, `author_id`), FOREIGN KEY(`episode_id`) REFERENCES `episodes`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`author_id`) REFERENCES `authors`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "episodeId",
"columnName": "episode_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "authorId",
"columnName": "author_id",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"episode_id",
"author_id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": [
{
"table": "episodes",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"episode_id"
],
"referencedColumns": [
"id"
]
},
{
"table": "authors",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"author_id"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "episodes",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `publish_date` INTEGER NOT NULL, `alternate_video` TEXT, `alternate_audio` TEXT, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "publishDate",
"columnName": "publish_date",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "alternateVideo",
"columnName": "alternate_video",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "alternateAudio",
"columnName": "alternate_audio",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "news_resources_authors",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`news_resource_id` INTEGER NOT NULL, `author_id` INTEGER NOT NULL, PRIMARY KEY(`news_resource_id`, `author_id`), FOREIGN KEY(`news_resource_id`) REFERENCES `news_resources`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`author_id`) REFERENCES `authors`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "newsResourceId",
"columnName": "news_resource_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "authorId",
"columnName": "author_id",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"news_resource_id",
"author_id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": [
{
"table": "news_resources",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"news_resource_id"
],
"referencedColumns": [
"id"
]
},
{
"table": "authors",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"author_id"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "news_resources",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `episode_id` INTEGER NOT NULL, `title` TEXT NOT NULL, `content` TEXT NOT NULL, `url` TEXT NOT NULL, `header_image_url` TEXT, `publish_date` INTEGER NOT NULL, `type` TEXT NOT NULL, PRIMARY KEY(`id`), FOREIGN KEY(`episode_id`) REFERENCES `episodes`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "episodeId",
"columnName": "episode_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "content",
"columnName": "content",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "url",
"columnName": "url",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "headerImageUrl",
"columnName": "header_image_url",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "publishDate",
"columnName": "publish_date",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "type",
"columnName": "type",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": [
{
"table": "episodes",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"episode_id"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "news_resources_topics",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`news_resource_id` INTEGER NOT NULL, `topic_id` INTEGER NOT NULL, PRIMARY KEY(`news_resource_id`, `topic_id`), FOREIGN KEY(`news_resource_id`) REFERENCES `news_resources`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`topic_id`) REFERENCES `topics`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "newsResourceId",
"columnName": "news_resource_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "topicId",
"columnName": "topic_id",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"news_resource_id",
"topic_id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": [
{
"table": "news_resources",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"news_resource_id"
],
"referencedColumns": [
"id"
]
},
{
"table": "topics",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"topic_id"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "topics",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `description` TEXT NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "description",
"columnName": "description",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": false
},
"indices": [
{
"name": "index_topics_name",
"unique": true,
"columnNames": [
"name"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_topics_name` ON `${TABLE_NAME}` (`name`)"
}
],
"foreignKeys": []
}
],
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '5a10933609b5b8c099a04b971b4d12d9')"
]
}
}

@ -16,6 +16,7 @@
package com.google.samples.apps.nowinandroid.core.database
import androidx.room.AutoMigration
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
@ -43,7 +44,11 @@ import com.google.samples.apps.nowinandroid.core.database.util.NewsResourceTypeC
NewsResourceTopicCrossRef::class,
TopicEntity::class,
],
version = 1,
version = 2,
autoMigrations = [
AutoMigration(from = 1, to = 2)
],
exportSchema = true,
)
@TypeConverters(
InstantConverter::class,

@ -47,6 +47,8 @@ data class NewsResourceEntity(
val title: String,
val content: String,
val url: String,
@ColumnInfo(name = "header_image_url")
val headerImageUrl: String?,
@ColumnInfo(name = "publish_date")
val publishDate: Instant,
val type: NewsResourceType,
@ -58,6 +60,7 @@ fun NewsResourceEntity.asExternalModel() = NewsResource(
title = title,
content = content,
url = url,
headerImageUrl = headerImageUrl,
publishDate = publishDate,
type = type,
authors = listOf(),

@ -60,6 +60,7 @@ fun PopulatedNewsResource.asExternalModel() = NewsResource(
title = entity.title,
content = entity.content,
url = entity.url,
headerImageUrl = entity.headerImageUrl,
publishDate = entity.publishDate,
type = entity.type,
authors = authors.map(AuthorEntity::asExternalModel),

@ -26,6 +26,7 @@ fun NetworkNewsResource.asEntity() = NewsResourceEntity(
title = title,
content = content,
url = url,
headerImageUrl = headerImageUrl,
publishDate = publishDate,
type = type,
)
@ -36,6 +37,7 @@ fun NetworkNewsResourceExpanded.asEntity() = NewsResourceEntity(
title = title,
content = content,
url = url,
headerImageUrl = headerImageUrl,
publishDate = publishDate,
type = type,
)

@ -42,6 +42,7 @@ class PopulatedEpisodeKtTest {
title = "news",
content = "Hilt",
url = "url",
headerImageUrl = "headerImageUrl",
type = Video,
publishDate = Instant.fromEpochMilliseconds(1),
)
@ -70,6 +71,7 @@ class PopulatedEpisodeKtTest {
title = "news",
content = "Hilt",
url = "url",
headerImageUrl = "headerImageUrl",
type = Video,
publishDate = Instant.fromEpochMilliseconds(1),
authors = listOf(),

@ -34,6 +34,7 @@ class PopulatedNewsResourceKtTest {
title = "news",
content = "Hilt",
url = "url",
headerImageUrl = "headerImageUrl",
type = Video,
publishDate = Instant.fromEpochMilliseconds(1),
),
@ -68,6 +69,7 @@ class PopulatedNewsResourceKtTest {
title = "news",
content = "Hilt",
url = "url",
headerImageUrl = "headerImageUrl",
type = Video,
publishDate = Instant.fromEpochMilliseconds(1),
authors = listOf(

@ -66,6 +66,7 @@ class NetworkEntityKtTest {
title = "title",
content = "content",
url = "url",
headerImageUrl = "headerImageUrl",
publishDate = Instant.fromEpochMilliseconds(1),
type = Article,
)
@ -76,6 +77,7 @@ class NetworkEntityKtTest {
assertEquals("title", entity.title)
assertEquals("content", entity.content)
assertEquals("url", entity.url)
assertEquals("headerImageUrl", entity.headerImageUrl)
assertEquals(Instant.fromEpochMilliseconds(1), entity.publishDate)
assertEquals(Article, entity.type)
@ -86,6 +88,7 @@ class NetworkEntityKtTest {
title = "title",
content = "content",
url = "url",
headerImageUrl = "headerImageUrl",
publishDate = Instant.fromEpochMilliseconds(1),
type = Article,
)
@ -97,6 +100,7 @@ class NetworkEntityKtTest {
assertEquals("title", entityFromExpanded.title)
assertEquals("content", entityFromExpanded.content)
assertEquals("url", entityFromExpanded.url)
assertEquals("headerImageUrl", entityFromExpanded.headerImageUrl)
assertEquals(Instant.fromEpochMilliseconds(1), entityFromExpanded.publishDate)
assertEquals(Article, entityFromExpanded.type)
}

@ -27,6 +27,7 @@ data class NewsResource(
val title: String,
val content: String,
val url: String,
val headerImageUrl: String?,
val publishDate: Instant,
val type: NewsResourceType,
val authors: List<Author>,

@ -36,6 +36,7 @@ object FakeDataSource {
title = "Thanks for helping us reach 1M YouTube Subscribers",
content = "Thank you everyone for following the Now in Android series and everything the Android Developers YouTube channel has to offer. During the Android Developer Summit, our YouTube channel reached 1 million subscribers! Heres a small video to thank you all.",
url = "https://youtu.be/-fJ6poHQrjM",
headerImageUrl = "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
authors = emptyList(),
publishDate = LocalDateTime(
year = 2021,
@ -160,6 +161,7 @@ object FakeDataSource {
"title": "Thanks for helping us reach 1M YouTube Subscribers",
"content": "Thank you everyone for following the Now in Android series and everything the Android Developers YouTube channel has to offer. During the Android Developer Summit, our YouTube channel reached 1 million subscribers! Heres a small video to thank you all.",
"url": "https://youtu.be/-fJ6poHQrjM",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-09T00:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -173,6 +175,7 @@ object FakeDataSource {
"title": "Transformations and customisations in the Paging Library",
"content": "A demonstration of different operations that can be performed with Paging. Transformations like inserting separators, when to create a new pager, and customisation options for consuming PagingData.",
"url": "https://youtu.be/ZARz0pjm5YM",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-01T00:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -188,6 +191,7 @@ object FakeDataSource {
"title": "Community tip on Paging",
"content": "Tips for using the Paging library from the developer community",
"url": "https://youtu.be/r5JgIyS3t3s",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-08T00:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -201,6 +205,7 @@ object FakeDataSource {
"title": "Paging Q&A",
"content": "In this live session, TJ and Dustin answered your questions in the usual live Q&A format.",
"url": "https://youtu.be/8i6vrlbIVCc",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-11T00:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -214,6 +219,7 @@ object FakeDataSource {
"title": "Gradle series kicks off",
"content": "Murat introduces the Gradle series and everything you'll learn in it.",
"url": "https://youtu.be/mk0XBWenod8",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-15T00:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -229,6 +235,7 @@ object FakeDataSource {
"title": "Intro to Gradle and AGP",
"content": "In the first episode of the Gradle MAD Skills series, Murat explains how the Android build system works, and how to configure your build.",
"url": "https://youtu.be/GjPS4xDMmQY",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-15T00:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -244,6 +251,7 @@ object FakeDataSource {
"title": "How to write a Gradle plugin",
"content": "In this second episode of the Gradle MAD Skills series, Murat explains how to write your own custom Gradle plugin.",
"url": "https://youtu.be/LPzBVtwGxlo",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-22T00:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -259,6 +267,7 @@ object FakeDataSource {
"title": "Take your Gradle plugin to the next step",
"content": "This third and last episode of the Gradle MAD Skills series teaches you how to get access to various build artifacts using the new Artifact API.",
"url": "https://youtu.be/SB4QlngQQW0",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-29T00:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -274,6 +283,7 @@ object FakeDataSource {
"title": "AppCompat, Activity, and Fragment to support multiple back stacks",
"content": "The 1.4.0 release of these libraries brings stable support for multiple back stacks.",
"url": "https://developer.android.com/jetpack/androidx/releases/appcompat#1.4.0",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-17T00:00:00.000Z",
"type": "API change",
"topics": [
@ -288,6 +298,7 @@ object FakeDataSource {
"title": "Emoji2 adds support for modern emojis",
"content": "The 1.0 stable release of Emoji2 allows you to use modern emojis in your app.",
"url": "https://developer.android.com/jetpack/androidx/releases/emoji2#1.0.0",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-17T00:00:00.000Z",
"type": "API change",
"topics": [
@ -302,6 +313,7 @@ object FakeDataSource {
"title": "Lifecycle introduces lifecycle-aware coroutine APIs",
"content": "The new 2.4 release of Lifecycle introduces repeatOnLifecycle and flowWithLifecycle.",
"url": "https://developer.android.com/jetpack/androidx/releases/lifecycle#2.4.0",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-17T00:00:00.000Z",
"type": "API change",
"topics": [
@ -316,6 +328,7 @@ object FakeDataSource {
"title": "Paging release brings changes to LoadState",
"content": "The new 3.1 release of Paging changes the behavior of LoadState.",
"url": "https://developer.android.com/jetpack/androidx/releases/paging#3.1.0",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-17T00:00:00.000Z",
"type": "API change",
"topics": [
@ -330,6 +343,7 @@ object FakeDataSource {
"title": "Wear tiles released as 1.0 stable",
"content": "The library that you use to build custom tiles for Wear OS devices is now stable.",
"url": "https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.0.0",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-17T00:00:00.000Z",
"type": "API change",
"topics": [
@ -344,6 +358,7 @@ object FakeDataSource {
"title": "Introducing Jetpack Media3",
"content": "The first alpha version of this new library is now available. Media3 is a collection of support libraries for media playback, including ExoPlayer. The following article explains why the team created Media3, what it contains, and how it can simplify your app architecture.",
"url": "https://developer.android.com/jetpack/androidx/releases/media3",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -360,6 +375,7 @@ object FakeDataSource {
"title": "The problem with emojis and how emoji2 can help out",
"content": "Meghan wrote about the new emoji2 library that just became stable.",
"url": "https://medium.com/androiddevelopers/support-modern-emoji-99f6dea8e57f",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-12T00:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -376,6 +392,7 @@ object FakeDataSource {
"title": "Convert YUV to RGB for CameraX Image Analysis",
"content": "Learn about a new feature in CameraX to convert YUV, the format that CameraX produces, to RGB used for image analysis capabilities available in TensorFlow Lite, for example. Read the blog post for more information about these formats and how to use the new conversion feature.",
"url": "https://medium.com/androiddevelopers/convert-yuv-to-rgb-for-camerax-imageanalysis-6c627f3a0292",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-19T00:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -392,6 +409,7 @@ object FakeDataSource {
"title": "Improving App Startup: Lessons from the Facebook App",
"content": "Improving app startup time is not a trivial task and requires a deep understanding of things that affect it. This year, the Android team and the Facebook app team have been working together on metrics and sharing approaches to improve app startup. Read more about the findings in this blog post.",
"url": "https://android-developers.googleblog.com/2021/11/improving-app-startup-facebook-app.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-16T00:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -405,6 +423,7 @@ object FakeDataSource {
"title": "About Custom Accessibility Actions",
"content": "The accessibility series continues on with more information on how to create custom accessibility actions to make your apps more accessible. You can provide a custom action to the accessibility services and implement logic related to the action. For more information, check out the following episode!",
"url": "https://youtu.be/wWDYIGk0Kdo",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-17T00:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -420,6 +439,7 @@ object FakeDataSource {
"title": "Conveying state for Accessibility",
"content": "In this episode of the Accessibility series, you can learn more about the StateDescription API, when to use stateDescription and contentDescription, and how to represent error states to the end user.",
"url": "https://youtu.be/JvWM2PjLJls",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-30T00:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -435,6 +455,7 @@ object FakeDataSource {
"title": "New Compose for Wear OS codelab",
"content": "In this codelab, you can learn how Wear OS can work with Compose, what Wear OS specific composables are available, and more!",
"url": "https://developer.android.com/codelabs/compose-for-wear-os",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-27T23:00:00.000Z",
"type": "Codelab",
"topics": [
@ -451,6 +472,7 @@ object FakeDataSource {
"title": "ADB Podcast episode 179 Hosts 3, Guests 0",
"content": "Chet, Romain and Tor sit down to chat about the Android Developer Summit, and in particular all the new features arriving in Android Studio, along with a few other topics like Chets new jank stats library, the Android 12L release, and more.",
"url": "https://adbackstage.libsyn.com/episode-178-hosts-3-guests-0",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-11-15T00:00:00.000Z",
"type": "Podcast 🎙",
"topics": [
@ -468,6 +490,7 @@ object FakeDataSource {
"title": "Building apps which are private by design",
"content": "Sara N-Marandi, product manager, and Yacine Rezgui, developer relations engineer, provided guidelines and best practices on how to build apps that are private by design, covered new privacy features in Android 12 and previewed upcoming Android concepts.",
"url": "https://youtu.be/hBVwr2ErQCw",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -481,6 +504,7 @@ object FakeDataSource {
"title": "Memory Safety Tools",
"content": "Serban Constantinescu, product manager, talked about the Memory Safety Tools that became available starting in Android 11 and have continued to evolve in Android 12. These tools can help address memory bugs and improve the quality and security of your application.",
"url": "https://youtu.be/JqLcTFpXreg",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -494,6 +518,7 @@ object FakeDataSource {
"title": "Increasing User Transparency with Privacy Dashboard",
"content": "Android is ever evolving in its quest to protect users privacy. In Android 12, the platform increases transparency by introducing Privacy Dashboard, which gives users a simple and clear timeline view of the apps that have accessed location, microphone and camera within the past 24 hours. ",
"url": "https://medium.com/androiddevelopers/increasing-user-transparency-with-privacy-dashboard-23064f2d7ff6",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -509,6 +534,7 @@ object FakeDataSource {
"title": "The most unusual and interesting security issues addressed last year",
"content": "Lilian Young, software engineer, presented a selection of the most unusual, intricate, and interesting security issues addressed in the last year. Developers and researchers are able to contribute to the security of the Android platform by submitting to the Android Vulnerability Rewards Program.",
"url": "https://medium.com/androiddevelopers/now-in-android-50-ads-special-9934422f8dd1",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -524,6 +550,7 @@ object FakeDataSource {
"title": "New Data Safety section in the Play Console",
"content": "The new Data safety section will give you a simple way to showcase your apps overall safety. It gives you a place to give users deeper insight into your apps privacy and security practices, and explain the data your app may collect and why — all before users install.",
"url": "https://youtu.be/J7TM0Yy0aTQ",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -538,6 +565,7 @@ object FakeDataSource {
"title": "Building Android UIs for any screen size",
"content": "Clara Bayarri, engineering manager and Daniel Jacobson, product manager, talked about the state of the ecosystem, focusing on new design guidance, APIs, and tools to help you make the most of your UI on different screen sizes.",
"url": "https://youtu.be/ir3LztqbeRI",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -551,6 +579,7 @@ object FakeDataSource {
"title": "What's new for large screens & foldables",
"content": "Emilie Roberts, Chrome OS developer advocate and Andrii Kulian, Android software engineer, introduced new features focused specifically on making apps look great on large screens, foldables, and Chrome OS. ",
"url": "https://youtu.be/6-925K3hMHU",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -564,6 +593,7 @@ object FakeDataSource {
"title": "Enable great input support for all devices",
"content": "Users expect seamless experiences when using keyboards, mice, and stylus. Emilie Roberts taught us how to handle common keyboard and mouse input events and how to get started with more advanced support like keyboard shortcuts, low-latency styluses, MIDI, and more.",
"url": "https://youtu.be/piLEZYTc_4g",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -577,6 +607,7 @@ object FakeDataSource {
"title": "Best practices for video apps on foldable devices",
"content": "Francesco Romano, developer advocate, and Will Chan, product manager at Zoom explored new user experiences made possible by the foldable form factor, focusing on video conferencing and media applications. ",
"url": "https://youtu.be/DBAek_P0nEw",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -591,6 +622,7 @@ object FakeDataSource {
"title": "Design beautiful apps on foldables and large screens",
"content": "Liam Spradlin, design advocate, and Jonathan Koren, developer relations engineer, talked about how to design and test Android applications that look and feel great across device types and screen sizes, from tablets to foldables to Chrome OS.",
"url": "https://youtu.be/DJeJIJKOUbI",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -604,6 +636,7 @@ object FakeDataSource {
"title": "12L and new Android APIs and tools for large screens",
"content": "Dave Burke, vice president of engineering, wrote a post covering the developer preview of 12L, an upcoming feature drop that makes Android 12 even better on large screens. ",
"url": "https://android-developers.googleblog.com/2021/10/12L-preview-large-screens.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -618,6 +651,7 @@ object FakeDataSource {
"title": "New features in ML Kit: Text Recognition V2 & Pose Detections",
"content": "Zongmin Sun, software engineer, and Valentin Bazarevsky, MediaPipe Engineer, talked about Text Recognition V2 & Pose Detection, recently-released features in ML Kit. ",
"url": "https://youtu.be/9EKQ0UC04S8",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -632,6 +666,7 @@ object FakeDataSource {
"title": "How to retain users with Android backup and restore",
"content": "In this talk, Martin Millmore, engineering manager, and Ruslan Tkhakokhov, software engineer, explored the benefits of transferring users data to a new device, using Backup and Restore to achieve that in a simple and secure way.",
"url": "https://youtu.be/bg2drEhz1_s",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -645,6 +680,7 @@ object FakeDataSource {
"title": "Compatibility changes in Android 12",
"content": "Developer relations engineers Kseniia Shumelchyk and Slava Panasenko talked about new Android 12 features and changes. They shared tools and techniques to ensure that apps are compatible with the next Android release and users can take advantage of new features, along with app developer success stories.",
"url": "https://youtu.be/fCMJmV6nqGo",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -658,6 +694,7 @@ object FakeDataSource {
"title": "Building great experiences for Novice Internet Users",
"content": "Learn the principles to help craft great experiences for the novice Internet user segment from Mrinal Sharma, UX manager, and Amrit Sanjeev, developer relations engineer. They highlight the gap between nascent and tech savvy user segments and suggest strategies in areas to improve the overall user experience. Factors like low functional literacy, being multilingual by default, being less digitally confident, and having no prior internet experience requires that we rethink the way we build apps for these users.",
"url": "https://youtu.be/Sf_TauUY4LE",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-26T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -671,6 +708,7 @@ object FakeDataSource {
"title": "Android Basics in Kotlin course 🧑‍💻",
"content": "Android Basics in Kotlin teaches people with no programming experience how to build simple Android apps. Since the first learning units were released in 2020, over 100,000 beginners have completed it! Today, were excited to share that the final unit has been released, and the full Android Basics in Kotlin course is now available.",
"url": "https://android-developers.googleblog.com/2021/10/announcing-android-basics-in-kotlin.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-20T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -686,6 +724,7 @@ object FakeDataSource {
"title": "WorkManager 2.7 adds setExpedited API to help with Foreground Service restrictions",
"content": "As the most outstanding release this time, WorkManager 2.7 was promoted to stable. This new version introduces a new setExpedited API to help with Foreground Service restrictions in Android 12.",
"url": "https://developer.android.com/reference/android/app/job/JobInfo.Builder#setExpedited(boolean)",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-20T23:00:00.000Z",
"type": "API change",
"topics": [
@ -699,6 +738,7 @@ object FakeDataSource {
"title": "Updated Widget docs",
"content": "Widgets can make a huge impact on your users home screen! We updated the App Widgets documentation with the recent changes in the latest OS versions. New pages about how to create a simple widget, an advanced widget, and how to provide flexible widget layouts.",
"url": "https://developer.android.com/guide/topics/appwidgets",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-20T23:00:00.000Z",
"type": "Docs 📑",
"topics": [
@ -712,6 +752,7 @@ object FakeDataSource {
"title": "Extend AGP by creating your own plugins",
"content": "The Android Gradle Plugin (AGP) contains extension points for plugins to control build inputs and extend its functionality. Starting in version 7.0, AGP has a set of official, stable APIs that you can rely on. We also have a new documentation page that walks you through this and explains how to create your own plugins.",
"url": "https://developer.android.com/studio/build/extend-agp",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-20T23:00:00.000Z",
"type": "Docs 📑",
"topics": [
@ -726,6 +767,7 @@ object FakeDataSource {
"title": "Revamped Compose Basics Codelab",
"content": "If youre planning to start learning Jetpack Compose, our modern toolkit for building native Android UI, its your lucky day! We just revamped the Basics Jetpack Compose codelab to help you learn the core concepts of Compose, and only with this, youll see how much it improves building Android UIs.",
"url": "https://developer.android.com/codelabs/jetpack-compose-basics",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-20T23:00:00.000Z",
"type": "Codelab",
"topics": [
@ -739,6 +781,7 @@ object FakeDataSource {
"title": "Start an activity for a result from a Composable",
"content": "We expanded the Compose and other libraries page to cover how to start an activity for result, request runtime permissions, and handle the system back button directly from your composables.",
"url": "https://developer.android.com/jetpack/compose/libraries",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-20T23:00:00.000Z",
"type": "Docs 📑",
"topics": [
@ -752,6 +795,7 @@ object FakeDataSource {
"title": "Material components in Compose",
"content": "We added a new Material Components and layouts page that goes over the different Material components in Compose such as backdrop, app bars, modal drawers, etc.!",
"url": "https://developer.android.com/jetpack/compose/layouts/material",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-20T23:00:00.000Z",
"type": "Docs 📑",
"topics": [
@ -766,6 +810,7 @@ object FakeDataSource {
"title": "How to implement a custom design system",
"content": "How to implement a custom design system in Compose",
"url": "https://developer.android.com/jetpack/compose/themes/custom",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-20T23:00:00.000Z",
"type": "Docs 📑",
"topics": [
@ -780,6 +825,7 @@ object FakeDataSource {
"title": "The anatomy of a theme",
"content": "Understanding the anatomy of a Compose theme",
"url": "https://developer.android.com/jetpack/compose/themes/anatomy",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-20T23:00:00.000Z",
"type": "Docs 📑",
"topics": [
@ -793,6 +839,7 @@ object FakeDataSource {
"title": "Paging 📑 Displaying data and its loading state",
"content": "In the third episode of the Paging video series, TJ adds a local cache to pull from and refresh only when necessary, making use of Room . The local cache acts as the single source of truth for paging data.",
"url": "https://www.youtube.com/watch?v=OHH_FPbrjtA",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-17T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -809,6 +856,7 @@ object FakeDataSource {
"title": "Data safety in the Play Console 🔒",
"content": "Google Play is rolling out the Data safety form in the Google Play Console. With the new Data safety section, developers will now have a transparent way to show users if and how they collect, share, and protect user data, before users install an app.\nRead the blog post to learn more about how to submit your app information in Play Console, how to get prepared, and what your users will see in your apps store listing starting February.",
"url": "https://android-developers.googleblog.com/2021/10/launching-data-safety-in-play-console.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-17T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -825,6 +873,7 @@ object FakeDataSource {
"title": "Honor every photo - How cameras capture images",
"content": "Episode 177: Honor every photon. In this episode, Chet, Roman, and Tor have a chat with Bart Wronski from the Google Research team, discussing the camera pipeline that powers the Pixel phones. How cameras capture images, how the algorithms responsible for Pixels beautiful images, HDR+ or Night Sight mode works, and more!",
"url": "https://adbackstage.libsyn.com/episode-177-honor-every-photon",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-17T23:00:00.000Z",
"type": "Podcast 🎙",
"topics": [
@ -840,6 +889,7 @@ object FakeDataSource {
"title": "Accessibility series 🌐 - Touch targets",
"content": "The accessibility series continues on with more information on how to follow basic accessibility principles to make sure that your app can be used by as many users as possible.\nIn general, you should ensure that interactive elements have a width and height of at least 48dp! In the touch targets episode, youll learn about a few ways in which you can make this happen.",
"url": "https://www.youtube.com/watch?v=Dqqbe8IFBA4",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-16T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -855,6 +905,7 @@ object FakeDataSource {
"title": "Using the CameraX Exposure Compensation API",
"content": "This blog post by Wenhung Teng talks about how to use the CameraX Exposure Compensation that makes it much simpler to quickly take images with exceptional quality.",
"url": "https://medium.com/androiddevelopers/using-camerax-exposure-compensation-api-11fd75785bf",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-12T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -870,6 +921,7 @@ object FakeDataSource {
"title": "Compose for Wear OS in Developer preview ⌚",
"content": "Were bringing the best of Compose to Wear OS as well, with built-in support for Material You to help you create beautiful apps with less code. Read the following article to review the main composables for Wear OS weve built and point you towards resources to get started using them.",
"url": "https://android-developers.googleblog.com/2021/10/compose-for-wear-os-now-in-developer.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-11T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -886,6 +938,7 @@ object FakeDataSource {
"title": "Paging 📑 How to fetch data and bind the PagingData to the UI",
"content": "The series on Paging continues on with more content! In the second episode, TJ shows how to fetch data and bind the PagingData to the UI, including headers and footers.",
"url": "https://www.youtube.com/watch?v=C0H54K63Lww",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-10T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -901,6 +954,7 @@ object FakeDataSource {
"title": "Room adds support for Kotlin Symbol Processing",
"content": "Yigit Boyar wrote the story about how Room added support for Kotlin Symbol Processing (KSP). Spoiler: it wasnt easy, but it was definitely worth it.",
"url": "https://medium.com/androiddevelopers/room-kotlin-symbol-processing-24808528a28e",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-09T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -916,6 +970,7 @@ object FakeDataSource {
"title": "Apply special effects to images with the CameraX Extensions API",
"content": "Have you ever wanted to apply special effects such as HDR or Night mode when taking pictures from your app? CameraX is here to help you! In this article by Charcoal Chen, learn how to do that using the new ExtensionsManager available in the camera-extensions Jetpack library. ",
"url": "https://medium.com/androiddevelopers/apply-special-effects-to-images-with-the-camerax-extensions-api-d1a169b803d3",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-06T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -931,6 +986,7 @@ object FakeDataSource {
"title": "Wear OS Jetpack libraries now in stable",
"content": "The Wear OS Jetpack libraries are now in stable.",
"url": "https://android-developers.googleblog.com/2021/09/wear-os-jetpack-libraries-now-in-stable.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-09-14T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -947,6 +1003,7 @@ object FakeDataSource {
"title": "Android Dev Summit returns on October 27-28, 2021! 📆",
"content": "Join us October 2728 for Android Dev Summit 2021! The show kicks off at 10 AM PST on October 27 with The Android Show: a technical keynote where youll hear all the latest developer news and updates. From there, we have over 30 sessions on a range of technical Android development topics, and well be answering your #AskAndroid questions live.",
"url": "https://developer.android.com/dev-summit",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-05T23:00:00.000Z",
"type": "Event 📆",
"topics": [
@ -960,6 +1017,7 @@ object FakeDataSource {
"title": "Android 12 is live in AOSP! 🤖",
"content": "We released Android 12 and pushed it to the Android Open Source Project (AOSP). It will be coming to devices later on this year. Thank you for your feedback during the beta.\nAndroid 12 introduces a new design language called Material You along with redesigned widgets, notification UI updates, stretch overscroll, and app launch splash screens. We reduced the CPU time used by core system services, added performance class device capabilities, made ML accelerator drivers updatable outside of platform releases, and prevented apps from launching foreground services from the background and using notification trampolines to improve performance. The new Privacy Dashboard, approximate location, microphone and camera indicators/toggles, and nearby device permissions give users more insight into and control over privacy. We improved the user experience with a unified API for rich content insertion, compatible media transcoding, easier blurs and effects, AVIF image support, enhanced haptics, new camera effects/capabilities, improved native crash debugging, support for rounded screen corners, Play as you download, and Game Mode APIs.",
"url": "https://android-developers.googleblog.com/2021/10/android-12-is-live-in-aosp.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-10-03T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -975,6 +1033,7 @@ object FakeDataSource {
"title": "Improved Google Play Console user management 🧑‍💼",
"content": "The user and permission tools in Play Console have a new, decluttered interface and new team management features, making it easier to make sure every team member has the right set of permissions to fulfill their responsibilities without overexposing unrelated business data.\nWeve rewritten permission names and descriptions, clarified differentiation between account and app-level permissions, added new search, filtering, and batch-editing capabilities, and added the ability to export this information to a CSV file. In addition, Play Console users can request access to actions with a justification, and weve introduced permission groups to make it easier to assign multiple permissions at once to users that share the same or similar roles.",
"url": "https://android-developers.googleblog.com/2021/09/improved-google-play-console-user.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-09-20T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -990,6 +1049,7 @@ object FakeDataSource {
"title": "Making Permissions auto-reset available to billions more devices 🔐",
"content": "Android 11 introduced permission auto-reset, automatically resetting an apps runtime permissions when it isnt used for a few months. In December 2021, we are starting to roll this feature out to devices with Google Play services running Android 6.0 (API level 23) or higher for apps targeting Android 11 (API level 30) or higher. Users can manually enable permission auto-reset for apps targeting API levels 23 to 29.\nSome apps and permissions are automatically exempted from revocation, like active Device Administrator apps used by enterprises, and permissions fixed by enterprise policy. If your app is expected to work primarily in the background without user interaction, you can ask the user to prevent the system from resetting your apps permissions.",
"url": "https://android-developers.googleblog.com/2021/09/making-permissions-auto-reset-available.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-09-16T23:00:00.000Z",
"type": "DAC - Android version features",
"topics": [
@ -1005,6 +1065,7 @@ object FakeDataSource {
"title": "Hilt under the hood",
"content": "This episode dives into how the Hilt annotation processors generate code, and how the Hilt Gradle plugin works behind the scenes to improve the overall experience when using Hilt with Gradle.",
"url": "https://medium.com/androiddevelopers/mad-skills-series-hilt-under-the-hood-9d89ee227059",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-09-07T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1020,6 +1081,7 @@ object FakeDataSource {
"title": "Hilt extensions",
"content": "This episode explains how to write your own Hilt Extensions. Hilt Extensions allow you to extend Hilt support to new libraries. Extensions can be created for common patterns in projects, to support non-standard member injection, mirroring bindings, and more.",
"url": "https://medium.com/androiddevelopers/hilt-extensions-in-the-mad-skills-series-f2ed6fcba5fe",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-09-12T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1035,6 +1097,7 @@ object FakeDataSource {
"title": "Migrating from Dagger to Hilt",
"content": "While you will eventually want to migrate all your existing Dagger modules over to Hilts built in components, you can start by migrating application-wide components to Hilts singleton component. This episode explains how.",
"url": "https://www.youtube.com/watch?v=Xt1_3Nq4lD0&t=15s",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-09-19T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -1050,6 +1113,7 @@ object FakeDataSource {
"title": "Trackr comes to the Big Screen",
"content": "A blog post on Trackr, a sample task management app where we showcase Modern Android Development best practices. This post takes you through how applying Material Design and responsive patterns produced a more refined and intuitive user experience on large screen devices.",
"url": "https://medium.com/androiddevelopers/trackr-comes-to-the-big-screen-9f13c6f927bf",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-09-06T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1065,6 +1129,7 @@ object FakeDataSource {
"title": "Accessibility services and the Android Accessibility model",
"content": "This Accessibilities series episode covers accessibility services like TalkBack, Switch Access and Voice Access and how they help users interact with your apps. Androids accessibility framework allows you to write one app and the framework takes care of providing the information needed by different accessibility services.",
"url": "https://youtu.be/LxKat_m7mHk",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-09-02T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -1080,6 +1145,7 @@ object FakeDataSource {
"title": "Labeling images for Accessibility",
"content": "This Accessibilities series episode covers labeling images for accessibility, such as content descriptions for ImageViews and ImageButtons.",
"url": "https://youtu.be/O2DeSITnzFk",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-09-09T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -1095,6 +1161,7 @@ object FakeDataSource {
"title": "New Accessibility Pathway",
"content": "Want even more accessibility? You are in luck, check out this entire new learning pathway aimed at teaching you how to make your app more accessible.",
"url": "https://developer.android.com/courses/pathways/make-your-android-app-accessible",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-08-31T23:00:00.000Z",
"type": "",
"topics": [
@ -1108,6 +1175,7 @@ object FakeDataSource {
"title": "AndroidX Activity Library 1.4.0-alpha01 released",
"content": "The AndroidX ComponentActivity now implements the MenuHost interface which allows any component to add menu items to the ActionBar by adding a MenuProvider instance to the activity.",
"url": "https://developer.android.com/jetpack/androidx/releases/activity#1.4.0-alpha01",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-08-31T23:00:00.000Z",
"type": "API change",
"topics": [
@ -1121,6 +1189,7 @@ object FakeDataSource {
"title": "ADB Podcast Episode 174: Compose in Android Studio",
"content": "In this episode, Tor and Nick are joined by Chris Sinco, Diego Perez and Nicolas Roard to discuss the features added to Android Studio for Jetpack Compose. Tune in as they discuss the Compose preview, interactive preview, animation inspector, and additions to the Layout inspector along with their approach to creating tooling to support Composes code-centric system.",
"url": "http://adbackstage.libsyn.com/episode-174-compose-tooling",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-09-08T23:00:00.000Z",
"type": "Podcast 🎙",
"topics": [
@ -1137,6 +1206,7 @@ object FakeDataSource {
"title": "ADB Podcast Episode 175: Creating delightful user experiences with Lottie animations",
"content": "In this episode, Chet, Romain and Tor have a chat with Gabriel Peal from Tonal, well known for his contributions to the Android community on projects such as Mavericks and Lottie. They talked about Lottie and how it helps designers and developers deliver more delightful user experiences by taking complex animations designed in specialized authoring tools such as After Effects, and rendering them efficiently on mobile devices. They also explored the challenges of designing and implementing a rendering engine such as Lottie.",
"url": "http://adbackstage.libsyn.com/episode-175-lottie",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-09-13T23:00:00.000Z",
"type": "Podcast 🎙",
"topics": [
@ -1152,6 +1222,7 @@ object FakeDataSource {
"title": "DataStore released into stable",
"content": "Datastore was released, providing a data storage solution that allows you to store key-value pairs or typed objects with protocol buffers.",
"url": "https://developer.android.com/jetpack/androidx/releases/datastore#1.0.0",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-08-03T23:00:00.000Z",
"type": "Jetpack release 🚀",
"topics": [
@ -1165,6 +1236,7 @@ object FakeDataSource {
"title": "Jetpack Compose 1.0 stable is released",
"content": "Jetpack Compose, Androids modern, native UI toolkit is now stable and ready for you to adopt in production. It interoperates with your existing app, integrates with existing Jetpack libraries, implements Material Design with straightforward theming, supports lists with Lazy components using minimal boilerplate, and has a powerful, extensible animation system.",
"url": "https://android-developers.googleblog.com/2021/07/jetpack-compose-announcement.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-07-27T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1180,6 +1252,7 @@ object FakeDataSource {
"title": "Android Studio Artic Fox stable is released",
"content": "Android Studio Arctic Fox is now available in the stable release channel. Arctic Fox brings Jetpack Compose to life with Compose Preview, Deploy Preview, Compose support in the Layout Inspector, and Live Editing of literals. Compose Preview works with the @Preview annotation to let you instantly see the impact of changes across multiple themes, screen sizes, font sizes, and more. Deploy Preview deploys snippets of your Compose code to a device or emulator for quick testing. Layout inspector now works with apps written fully in Compose as well as apps that have Compose alongside Views, allowing you to explore your layouts and troubleshoot. With Live Edit of literals, you can edit literals such as strings, numbers, booleans, etc. and see the immediate results change in previews, the emulator, or on a physical device — all without having to compile.\n",
"url": "https://android-developers.googleblog.com/2021/07/android-studio-arctic-fox-202031-stable.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-07-27T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1196,6 +1269,7 @@ object FakeDataSource {
"title": "User control, privacy, security, and safety",
"content": "Play announced new updates to bolster user control, privacy, and security. The post covered advertising ID updates, including zeroing out the advertising ID when users opt out of interest-based advertising or ads personalization, the developer preview of the app set ID, enhanced protection for kids, and policy updates around dormant accounts and users of the AccessibilityService API.",
"url": "https://android-developers.googleblog.com/2021/07/announcing-policy-updates-to-bolster.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-07-27T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1211,6 +1285,7 @@ object FakeDataSource {
"title": "Identify performance bottlenecks using system trace",
"content": "System trace profiling within Android Studio with a detailed walkthrough of app startup performance.",
"url": "https://www.youtube.com/watch?v=aUrqx9AnDUg",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-07-25T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -1227,6 +1302,7 @@ object FakeDataSource {
"title": "Testing in Compose",
"content": "ADB released episode #171, part of our continuing series on Jetpack Compose. In this episode, Nick and Romain are joined by Filip Pavlis, Jelle Fresen & Jose Alcérreca to talk about Testing in Compose. They discuss how Composes testing APIs were developed hand-in-hand with the UI toolkit, making them more deterministic and opening up new possibilities like manipulating time. They go on to discuss the semantics tree, interop testing, screenshot testing and the possibilities for host-side testing.",
"url": "https://adbackstage.libsyn.com/episode-171-compose-testing",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-29T23:00:00.000Z",
"type": "Podcast 🎙",
"topics": [
@ -1243,6 +1319,7 @@ object FakeDataSource {
"title": "DataStore reached release candidate status",
"content": "DataStore has reached release candidate status meaning the 1.0 stable release is right around the corner!",
"url": "https://developer.android.com/topic/libraries/architecture/datastore",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-29T23:00:00.000Z",
"type": "Jetpack release 🚀",
"topics": [],
@ -1254,6 +1331,7 @@ object FakeDataSource {
"title": "Scope Storage Myths",
"content": "Apps will be required to update their targetSdkVersion to API 30 in the second half of the year. That means your app will be required to work with Scoped Storage. In this blog post, Nicole Borrelli busts some Scope storage myths in a Q&A format.",
"url": "https://medium.com/androiddevelopers/scope-storage-myths-ca6a97d7ff37",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-27T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1270,6 +1348,7 @@ object FakeDataSource {
"title": "Android 12 Beta 2 Update",
"content": "The second Beta of Android 12 has just been released for you to try. Beta 2 adds new privacy features like the Privacy Dashboard and continues our work of refining the release.",
"url": "https://android-developers.googleblog.com/2021/06/android-12-beta-2-update.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-08T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1285,6 +1364,7 @@ object FakeDataSource {
"title": "Grow Your Indie Game with Help From Google Play",
"content": "Google Play is opening submissions for two of our annual developer programs - the Indie Games Accelerator and the Indie Games Festival. These programs are designed to help small games studios grow on Google Play, no matter what stage they are in",
"url": "https://developers.googleblog.com/2021/06/grow-your-indie-game-with-help-from-google-play.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-05-31T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1301,6 +1381,7 @@ object FakeDataSource {
"title": "Navigation with Multiple back stacks",
"content": "As part of the rercommended Material pattern for bottom-navigation, the Jetpack Navigation library makes it easy to implement navigation with multiple back-stacks",
"url": "https://medium.com/androiddevelopers/navigation-multiple-back-stacks-6c67ba41952f",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-14T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1316,6 +1397,7 @@ object FakeDataSource {
"title": "Navigation in Feature Modules",
"content": "Feature modules delivered with Play Feature delivery at not downloadedd at install time, but only when the app requestss them. Learn how to use the dynamic features navigation library to include the graph from the feature module.",
"url": "https://medium.com/androiddevelopers/navigation-in-feature-modules-322ac3d79334",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-01T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1331,6 +1413,7 @@ object FakeDataSource {
"title": "Android @ Google I/O: 3 things to know in Modern Android Development",
"content": "This years Google I/O brought lots of updates for Modern Android Development. Learn about the top 3 things you should know.",
"url": "https://android-developers.googleblog.com/2021/05/mad-spotlight.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-05-24T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1346,6 +1429,7 @@ object FakeDataSource {
"title": "Top 3 things in Android 12 | Android @ Google I/O '21",
"content": "Did you miss the latest in Android 12 at Google I/O 2021? Android Software Engineer Chet Haase will recap the top three themes in Android 12 from this years Google I/O!",
"url": "https://www.youtube.com/watch?v=tvf1wmD5H0M",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-08T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -1361,6 +1445,7 @@ object FakeDataSource {
"title": "Building across devices | Android @ Google I/O '21",
"content": "Did you miss the latest in Building across screens at Google I/O 2021? Product Manager Diana Wong will recap the top three announcements from this years Google I/O!",
"url": "https://www.youtube.com/watch?v=O5oRiIUk_F4",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-02T23:00:00.000Z",
"type": "Video 📺",
"topics": [
@ -1376,6 +1461,7 @@ object FakeDataSource {
"title": "Multiple Back Stacks",
"content": "A deep dive into multiple back stacks and some of the work it took to make this feature happen in Fragments and Navigation",
"url": "https://medium.com/androiddevelopers/multiple-back-stacks-b714d974f134",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-06T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1391,6 +1477,7 @@ object FakeDataSource {
"title": "Build sophisticated search features with AppSearch",
"content": "AppSearch is an on-device search library which provides high performance and feature-rich full-text search functionality. Learn how to use the new Jetpack AppSearch library for doing high-performance on-device full text searches.",
"url": "https://android-developers.googleblog.com/2021/06/sophisticated-search-with-appsearch-in-jetpack.html",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-13T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1407,6 +1494,7 @@ object FakeDataSource {
"title": "Untrusted Touch Events in Android",
"content": "Android 12 prevents touch events from being deliverred if these touches first pass through a window from a different app to ensure users can see what they are interacting with. Learn about alternatives, to see if your app will be affected and how you can test to see if your app will be impacted.",
"url": "https://medium.com/androiddevelopers/untrusted-touch-events-2c0e0b9c374c",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-05-25T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1422,6 +1510,7 @@ object FakeDataSource {
"title": "Create an application CoroutineScope using Hilt",
"content": "Learn how to create an applicatioon-scoped CoroutineScope using Hilt, and how to inject it as a dependency.",
"url": "https://medium.com/androiddevelopers/create-an-application-coroutinescope-using-hilt-dd444e721528",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-09T23:00:00.000Z",
"type": "Article 📚",
"topics": [
@ -1437,6 +1526,7 @@ object FakeDataSource {
"title": "ADB Podcast Episode 165: Material Witnesses",
"content": "In this episode, Chet and Romain chattedd with Hunter and Nick from the Material Design team about recent additions and improvements to the Material Design Component libraries: transitions, motion theming, Compose, large screens support and guidance, etc.",
"url": "http://adbackstage.libsyn.com/episode-165-material-witnesses",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-01T23:00:00.000Z",
"type": "Podcast 🎙",
"topics": [
@ -1452,6 +1542,7 @@ object FakeDataSource {
"title": "ADB Podcast Episode 166: Security Deposit",
"content": "In this episode, Chad and Jeff from the Android Security team join Tor and Romain to talk about… security. They explain what the platform does to help preserve user trust and device integrity, why it sometimes means restricting existing APIs, and touch on what apps can do or should worry about.",
"url": "http://adbackstage.libsyn.com/episode-166-security-deposit",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-07T23:00:00.000Z",
"type": "Podcast 🎙",
"topics": [
@ -1467,6 +1558,7 @@ object FakeDataSource {
"title": "ADB Podcast Episode 167: Jetpack Compose Layout",
"content": "In this second episode of our mini-series on Jetpack Compose (AD/BC), Nick and Romain are joined by Anastasia Soboleva, George Mount and Mihai Popa to talk about Composes layout system. They explain how the Compose layout model works and its benefits, introduce common layout composables, discuss how writing your own layout is far simpler than Views, and how you can even animate layout.",
"url": "https://adbackstage.libsyn.com/episode-167-jetpack-compose-layout",
"headerImageUrl": "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
"publishDate": "2021-06-13T23:00:00.000Z",
"type": "Podcast 🎙",
"topics": [

@ -33,6 +33,7 @@ data class NetworkNewsResource(
val title: String,
val content: String,
val url: String,
val headerImageUrl: String,
@Serializable(InstantSerializer::class)
val publishDate: Instant,
@Serializable(NewsResourceTypeSerializer::class)
@ -51,6 +52,7 @@ data class NetworkNewsResourceExpanded(
val title: String,
val content: String,
val url: String,
val headerImageUrl: String,
@Serializable(InstantSerializer::class)
val publishDate: Instant,
@Serializable(NewsResourceTypeSerializer::class)

@ -209,6 +209,7 @@ private val newsResource = NewsResource(
title = "Title",
content = "Content",
url = "url",
headerImageUrl = "https://i.ytimg.com/vi/WL9h46CymlU/maxresdefault.jpg",
publishDate = Instant.DISTANT_FUTURE,
type = Article,
authors = listOf(

@ -211,6 +211,7 @@ fun ForYouScreenTopicSelection() {
"During the Android Developer Summit, our YouTube channel reached 1 " +
"million subscribers! Heres a small video to thank you all.",
url = "https://youtu.be/-fJ6poHQrjM",
headerImageUrl = "https://i.ytimg.com/vi/-fJ6poHQrjM/maxresdefault.jpg",
publishDate = Instant.parse("2021-11-09T00:00:00.000Z"),
type = Video,
topics = listOf(
@ -234,6 +235,7 @@ fun ForYouScreenTopicSelection() {
"create a new pager, and customisation options for consuming " +
"PagingData.",
url = "https://youtu.be/ZARz0pjm5YM",
headerImageUrl = "https://i.ytimg.com/vi/ZARz0pjm5YM/maxresdefault.jpg",
publishDate = Instant.parse("2021-11-01T00:00:00.000Z"),
type = Video,
topics = listOf(
@ -254,6 +256,7 @@ fun ForYouScreenTopicSelection() {
title = "Community tip on Paging",
content = "Tips for using the Paging library from the developer community",
url = "https://youtu.be/r5JgIyS3t3s",
headerImageUrl = "https://i.ytimg.com/vi/r5JgIyS3t3s/maxresdefault.jpg",
publishDate = Instant.parse("2021-11-08T00:00:00.000Z"),
type = Video,
topics = listOf(

@ -359,6 +359,7 @@ private val sampleNewsResources = listOf(
"Summit, our YouTube channel reached 1 million subscribers! Heres a small video to " +
"thank you all.",
url = "https://youtu.be/-fJ6poHQrjM",
headerImageUrl = "https://i.ytimg.com/vi/-fJ6poHQrjM/maxresdefault.jpg",
publishDate = Instant.parse("2021-11-09T00:00:00.000Z"),
type = Video,
topics = listOf(
@ -378,6 +379,7 @@ private val sampleNewsResources = listOf(
"Transformations like inserting separators, when to create a new pager, and " +
"customisation options for consuming PagingData.",
url = "https://youtu.be/ZARz0pjm5YM",
headerImageUrl = "https://i.ytimg.com/vi/ZARz0pjm5YM/maxresdefault.jpg",
publishDate = Instant.parse("2021-11-01T00:00:00.000Z"),
type = Video,
topics = listOf(
@ -395,6 +397,7 @@ private val sampleNewsResources = listOf(
title = "Community tip on Paging",
content = "Tips for using the Paging library from the developer community",
url = "https://youtu.be/r5JgIyS3t3s",
headerImageUrl = "https://i.ytimg.com/vi/r5JgIyS3t3s/maxresdefault.jpg",
publishDate = Instant.parse("2021-11-08T00:00:00.000Z"),
type = Video,
topics = listOf(

Loading…
Cancel
Save