Skip to content

Instantly share code, notes, and snippets.

View ma-za-kpe's full-sized avatar
🏠
Working from home

Maku Mazakpe ma-za-kpe

🏠
Working from home
View GitHub Profile
2020-01-29 21:56:12.273 25675-25675/com.maku.potswatch D/AuthViewModel: login response null
2020-01-29 21:56:13.452 25675-25675/com.maku.potswatch D/UserRepository$userLogin: login throwable unexpected end of stream
2020-01-29 21:56:16.801 25675-25675/com.maku.potswatch D/AuthViewModel: login response null
2020-01-29 21:56:16.953 25675-25675/com.maku.potswatch D/AuthViewModel: login response null
2020-01-29 21:56:21.657 25675-25675/com.maku.potswatch D/UserRepository$userLogin: login throwable unexpected end of stream
2020-01-29 21:56:23.386 25675-25675/com.maku.potswatch D/UserRepository$userLogin: login fialure2 <!DOCTYPE html>
2020-01-29 21:56:23.387 25675-25675/com.maku.potswatch D/UserRepository$userLogin: <html lang="en">
2020-01-29 21:56:23.387 25675-25675/com.maku.potswatch D/UserRepository$userLogin: <head>
2020-01-29 21:56:23.387 25675-25675/com.maku.potswatch D/UserRepository$userLogin: <meta http-equiv="content-type" content="text/html; charset=utf-8">
2020-01-29 21:56:23.387 25675-25675/com.mak
@ma-za-kpe
ma-za-kpe / WordRoomDatabase.kt
Created November 13, 2019 07:53
Can anyone please explain this method to my(as if explaining to a dummy)
// Annotates class to be a Room Database with a table (entity) of the Word class
@Database(entities = arrayOf(Word::class), version = 1, exportSchema = false)
public abstract class WordRoomDatabase : RoomDatabase() {
abstract fun wordDao(): WordDao
companion object {
// Singleton prevents multiple instances of database opening at the
// same time.
@Volatile