-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExercise.java
More file actions
46 lines (37 loc) · 998 Bytes
/
Copy pathExercise.java
File metadata and controls
46 lines (37 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.example.recyclerviewstest;
public class Exercise {
private String name;
private String repsSets;
private String imageUrl;
public Exercise(String name, String repsSets, String imageUrl) {
this.name = name;
this.repsSets = repsSets;
this.imageUrl = imageUrl;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getRepsSets() {
return repsSets;
}
public void setRepsSets(String repsSets) {
this.repsSets = repsSets;
}
public String getImageUrl() {
return imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
}
@Override
public String toString() {
return "Contact{" +
"name='" + name + '\'' +
", email='" + repsSets + '\'' +
", imageUrl='" + imageUrl + '\'' +
'}';
}
}