Skip to content

Commit cda4edb

Browse files
author
Jill Heske
committed
Step.05-Exercise-Build-a-Repository
1 parent 8e38d53 commit cda4edb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/src/main/java/com/example/android/devbyteviewer/repository/VideosRepository.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@
1616
*/
1717

1818
package com.example.android.devbyteviewer.repository
19+
20+
// TODO (01) Create a VideosRepository class that takes a VideosDatabase argument.
21+
22+
// TODO (02) Define a suspend refreshVideos() function that gets data from the network and
23+
// inserts it into the database.
24+
25+
// TODO (03) Define a Transformations.map to convert the DatabaseVideo list to a list of Video.

0 commit comments

Comments
 (0)