-
Notifications
You must be signed in to change notification settings - Fork 16
/
DetailsActivity.ui.cs
69 lines (62 loc) · 1.75 KB
/
DetailsActivity.ui.cs
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
59
60
61
62
63
64
65
66
67
68
69
using Android.Widget;
using Flowers.Helpers;
namespace Flowers
{
public partial class DetailsActivity : ActivityBaseEx
{
private Button _addCommentButton;
private Button _editNameButton;
private Button _saveButton;
private EditText _editNameText;
private ListView _commentsList;
private ImageView _flowerImageView;
public Button AddCommentButton
{
get
{
return _addCommentButton
?? (_addCommentButton = FindViewById<Button>(Resource.Id.AddCommentButton));
}
}
public Button EditNameButton
{
get
{
return _editNameButton
?? (_editNameButton = FindViewById<Button>(Resource.Id.EditNameButton));
}
}
public Button SaveButton
{
get
{
return _saveButton
?? (_saveButton = FindViewById<Button>(Resource.Id.SaveButton));
}
}
public EditText EditNameText
{
get
{
return _editNameText
?? (_editNameText = FindViewById<EditText>(Resource.Id.EditNameText));
}
}
public ListView CommentsList
{
get
{
return _commentsList
?? (_commentsList = FindViewById<ListView>(Resource.Id.CommentsList));
}
}
public ImageView FlowerImageView
{
get
{
return _flowerImageView
?? (_flowerImageView = FindViewById<ImageView>(Resource.Id.FlowerImageView));
}
}
}
}