Skip to content

Instantly share code, notes, and snippets.

View garcia-pedro-hr's full-sized avatar
👍
Always improving

Pedro Garcia garcia-pedro-hr

👍
Always improving
View GitHub Profile
@garcia-pedro-hr
garcia-pedro-hr / Bar.kt
Last active February 10, 2020 17:51
Room prepackaged example structure
package br.org.venturus.roomprepackagedexample.database
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.ForeignKey
import androidx.room.PrimaryKey
@Entity(tableName = "bar_table",
foreignKeys = [
ForeignKey(entity = Foo::class,