private SessionItemViewBinder(View view) : base(view) { txtTitle = view.FindViewById<TextView>(Resource.Id.txt_title); txtStime = view.FindViewById<TextView>(Resource.Id.txt_stime); txtTime = view.FindViewById<TextView>(Resource.Id.txt_time); txtPlace = view.FindViewById<TextView>(Resource.Id.txt_place); txtCategory = view.FindViewById<CategoryView>(Resource.Id.txt_category); txtLanguage = view.FindViewById<TextView>(Resource.Id.txt_language); imgSpeaker = view.FindViewById<ImageView>(Resource.Id.img_speaker); txtSpeakerName = view.FindViewById<TextView>(Resource.Id.txt_speaker_name); btnStar = view.FindViewById<Com.Like.LikeButton>(Resource.Id.btn_star); cardView = view.FindViewById<View>(Resource.Id.card_view); }
private SessionDetailFragmentBinding(LayoutInflater inflater, ViewGroup root, bool attachToRoot) { Root = inflater.Inflate(Resource.Layout.fragment_session_detail, root, attachToRoot); fab = Root.FindViewById<FloatingActionButton>(Resource.Id.fab); toolbar = Root.FindViewById<Toolbar>(Resource.Id.toolbar); appbar = Root.FindViewById<AppBarLayout>(Resource.Id.app_bar); collapsingToolbar = Root.FindViewById<CollapsingToolbarLayout>(Resource.Id.collapsing_toolbar); txtSessionTimeRange = Root.FindViewById<TextView>(Resource.Id.txt_session_time_range); imgCover = Root.FindViewById<ImageView>(Resource.Id.img_cover); txtPlace = Root.FindViewById<TextView>(Resource.Id.txt_place); txtCategory = Root.FindViewById<CategoryView>(Resource.Id.txt_category); txtLanguage = Root.FindViewById<TextView>(Resource.Id.txt_language); txtSpeakerTitle = Root.FindViewById<TextView>(Resource.Id.txt_speaker_title); imgSpeaker = Root.FindViewById<ImageView>(Resource.Id.img_speaker); txtSpeakerName = Root.FindViewById<TextView>(Resource.Id.txt_speaker_name); txtDescriptionTitle = Root.FindViewById<TextView>(Resource.Id.txt_description_title); txtDescriptionDetail = Root.FindViewById<TextView>(Resource.Id.txt_description_detail); txtFeedback = Root.FindViewById<TextView>(Resource.Id.txt_feedback); fab = Root.FindViewById<FloatingActionButton>(Resource.Id.fab); speakerSnsIcons = Root.FindViewById<SpeakerSnsIconsView>(Resource.Id.speaker_sns_icons); }