//        @BindingAdapter("speakerSnsIcons")
        public static void SetSpeakerSnsIcons(SpeakerSnsIconsView view, Speaker speaker)
        {
            var binding = view.binding;

            if (string.IsNullOrEmpty(speaker.twitter_name) && string.IsNullOrEmpty(speaker.github_name))
            {
                binding.Root.Visibility = ViewStates.Gone;
                return;
            }

            if (string.IsNullOrEmpty(speaker.twitter_name))
            {
                binding.coverTwitter.Visibility = ViewStates.Gone;
            }
            else
            {
                binding.coverTwitter.Visibility = ViewStates.Visible;
                binding.coverTwitter.SetOnClickAction(v =>
                    AppUtil.ShowWebPage(view.Context as Activity, AppUtil.GetTwitterUrl(speaker.twitter_name)));
            }

            if (string.IsNullOrEmpty(speaker.github_name))
            {
                binding.coverGithub.Visibility = ViewStates.Gone;
            }
            else
            {
                binding.coverGithub.Visibility = ViewStates.Visible;
                binding.coverGithub.SetOnClickAction(v =>
                    AppUtil.ShowWebPage(view.Context as Activity, AppUtil.GetGitHubUrl(speaker.github_name)));
            }
        }
//        @BindingAdapter("speakerSnsIcons")
        public static void SetSpeakerSnsIcons(SpeakerSnsIconsView view, Speaker speaker)
        {
            var binding = view.binding;

            if (string.IsNullOrEmpty(speaker.twitter_name) && string.IsNullOrEmpty(speaker.github_name))
            {
                binding.Root.Visibility = ViewStates.Gone;
                return;
            }

            if (string.IsNullOrEmpty(speaker.twitter_name))
            {
                binding.coverTwitter.Visibility = ViewStates.Gone;
            }
            else
            {
                binding.coverTwitter.Visibility = ViewStates.Visible;
                binding.coverTwitter.SetOnClickAction(v =>
                                                      AppUtil.ShowWebPage(view.Context as Activity, AppUtil.GetTwitterUrl(speaker.twitter_name)));
            }

            if (string.IsNullOrEmpty(speaker.github_name))
            {
                binding.coverGithub.Visibility = ViewStates.Gone;
            }
            else
            {
                binding.coverGithub.Visibility = ViewStates.Visible;
                binding.coverGithub.SetOnClickAction(v =>
                                                     AppUtil.ShowWebPage(view.Context as Activity, AppUtil.GetGitHubUrl(speaker.github_name)));
            }
        }
        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);
        }
 public static SpeakerSnsIconsViewBinding Inflate(LayoutInflater inflater, int layoutId, SpeakerSnsIconsView view, bool attachToRoot)
 {
     return new SpeakerSnsIconsViewBinding(inflater, layoutId, view, attachToRoot);
 }
 private SpeakerSnsIconsViewBinding(LayoutInflater inflater, int layoutId, SpeakerSnsIconsView view, bool attachToRoot)
 {
     Root = inflater.Inflate(layoutId, view, attachToRoot);
     coverTwitter = Root.FindViewById<View>(Resource.Id.cover_twitter);
     coverGithub = Root.FindViewById<View>(Resource.Id.cover_github);
 }
 private SpeakerSnsIconsViewBinding(LayoutInflater inflater, int layoutId, SpeakerSnsIconsView view, bool attachToRoot)
 {
     Root         = inflater.Inflate(layoutId, view, attachToRoot);
     coverTwitter = Root.FindViewById <View>(Resource.Id.cover_twitter);
     coverGithub  = Root.FindViewById <View>(Resource.Id.cover_github);
 }
 public static SpeakerSnsIconsViewBinding Inflate(LayoutInflater inflater, int layoutId, SpeakerSnsIconsView view, bool attachToRoot)
 {
     return(new SpeakerSnsIconsViewBinding(inflater, layoutId, view, attachToRoot));
 }