Advertisement
Baru_Berbagi

MyData.java

Dec 22nd, 2021
907
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.77 KB | None | 0 0
  1. package com.baruberbagi.recyclerdancard;
  2.  
  3. public class MyData {
  4.     private String moName;
  5.     private String moDate;
  6.     private Integer moImage;
  7.  
  8.     public MyData(String moName, String moDate, Integer moImage) {
  9.         this.moName = moName;
  10.         this.moDate = moDate;
  11.         this.moImage = moImage;
  12.     }
  13.  
  14.     public String getMoName() {
  15.         return moName;
  16.     }
  17.  
  18.     public void setMoName(String moName) {
  19.         this.moName = moName;
  20.     }
  21.  
  22.     public String getMoDate() {
  23.         return moDate;
  24.     }
  25.  
  26.     public void setMoDate(String moDate) {
  27.         this.moDate = moDate;
  28.     }
  29.  
  30.     public Integer getMoImage() {
  31.         return moImage;
  32.     }
  33.  
  34.     public void setMoImage(Integer moImage) {
  35.         this.moImage = moImage;
  36.     }
  37. }
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement