SettingsRecyclerHolder.java
1.49 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
package com.lijinji.call.adapter;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.lijinji.call.R;
public class SettingsRecyclerHolder extends RecyclerView.ViewHolder {
private ImageView icon;
private TextView titleView;
private TextView messageView;
private LinearLayout linelayout;
public SettingsRecyclerHolder(@NonNull View itemView) {
super(itemView);
icon = (ImageView) itemView.findViewById(R.id.settingIcon);
titleView = (TextView) itemView.findViewById(R.id.settingTitle);
messageView = (TextView) itemView.findViewById(R.id.settingMessage);
linelayout = (LinearLayout) itemView.findViewById(R.id.settingsLinearLayout);
}
public ImageView getIcon() {
return icon;
}
public void setIcon(ImageView icon) {
this.icon = icon;
}
public TextView getTitleView() {
return titleView;
}
public void setTitleView(TextView textView) {
this.titleView = textView;
}
public TextView getMessageView() {
return messageView;
}
public void setMessageView(TextView textView) {
this.messageView = textView;
}
public LinearLayout getLinelayout() {
return linelayout;
}
public void setLinelayout(LinearLayout linelayout) {
this.linelayout = linelayout;
}
}