From 07fd2f2f477e7fe3a21512ebc0f55bf23c8d4ceb Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sun, 2 May 2021 22:38:15 -0600 Subject: kindof understand mvvm --- .../com/example/wiimmterfaceandroid/model/FriendCode.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/src/main/java/com/example/wiimmterfaceandroid/model/FriendCode.java (limited to 'app/src/main/java/com/example/wiimmterfaceandroid/model/FriendCode.java') diff --git a/app/src/main/java/com/example/wiimmterfaceandroid/model/FriendCode.java b/app/src/main/java/com/example/wiimmterfaceandroid/model/FriendCode.java new file mode 100644 index 0000000..4d1cc5e --- /dev/null +++ b/app/src/main/java/com/example/wiimmterfaceandroid/model/FriendCode.java @@ -0,0 +1,13 @@ +package com.example.wiimmterfaceandroid.model; + +import androidx.room.ColumnInfo; +import androidx.room.Entity; + +@Entity +public class FriendCode { + @ColumnInfo(name="name") + public String name; + + @ColumnInfo(name="friendCode") + public String friendCode; +} -- cgit v1.2.3