Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.example.customhorizontalscrollviewexample;
- public class DataModel
- {
- private String name;
- private int resId;
- public DataModel(String name, int resId)
- {
- this.name = name;
- this.resId = resId;
- }
- public String getName()
- {
- return name;
- }
- public void setName(String name)
- {
- this.name = name;
- }
- public int getResId()
- {
- return resId;
- }
- public void setResId(int resId)
- {
- this.resId = resId;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement