Skip to content

Instantly share code, notes, and snippets.

@CagriAldemir
Created February 11, 2019 23:11
Show Gist options
  • Save CagriAldemir/3bfceb9104dc285ca3a1d913e6fce4fb to your computer and use it in GitHub Desktop.
Save CagriAldemir/3bfceb9104dc285ca3a1d913e6fce4fb to your computer and use it in GitHub Desktop.
package tr.com.cagrialdemir.recyclerviewexampleapp;
import java.util.Date;
public class ModelExample {
private String nameSurname;
private Date dateOfBirth;
public ModelExample(String nameSurname, Date dateOfBirth) {
this.nameSurname = nameSurname;
this.dateOfBirth = dateOfBirth;
}
public String getNameSurname() {
return nameSurname;
}
public void setNameSurname(String nameSurname) {
this.nameSurname = nameSurname;
}
public Date getDateOfBirth() {
return dateOfBirth;
}
public void setDateOfBirth(Date dateOfBirth) {
this.dateOfBirth = dateOfBirth;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment