added room dependency
This commit is contained in:
@@ -30,6 +30,12 @@ android {
|
||||
|
||||
dependencies {
|
||||
|
||||
def room_version = "2.2.5"
|
||||
|
||||
implementation "androidx.room:room-runtime:$room_version"
|
||||
annotationProcessor "androidx.room:room-compiler:$room_version"
|
||||
|
||||
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'com.google.android.material:material:1.2.1'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||||
|
||||
@@ -5,6 +5,7 @@ public class Coupon {
|
||||
private String code;
|
||||
private String reward;
|
||||
|
||||
|
||||
public Coupon(String code, String reward) {
|
||||
this.code = code;
|
||||
this.reward = reward;
|
||||
|
||||
Reference in New Issue
Block a user