private void InitComponent()
        {
            try
            {
                RootView = FindViewById <LinearLayout>(Resource.Id.main_content);

                MRecycler = (RecyclerView)FindViewById(Resource.Id.recycler_view);

                SwipeRefreshLayout = (SwipeRefreshLayout)FindViewById(Resource.Id.swipeRefreshLayout);
                SwipeRefreshLayout.SetColorSchemeResources(Android.Resource.Color.HoloBlueLight, Android.Resource.Color.HoloGreenLight, Android.Resource.Color.HoloOrangeLight, Android.Resource.Color.HoloRedLight);
                SwipeRefreshLayout.Refreshing = true;
                SwipeRefreshLayout.Enabled    = true;
                SwipeRefreshLayout.SetProgressBackgroundColorSchemeColor(AppSettings.SetTabDarkTheme ? Color.ParseColor("#424242") : Color.ParseColor("#f7f7f7"));

                LikeCountBox  = FindViewById <TextView>(Resource.Id.like_box);
                EmojisView    = FindViewById <ImageView>(Resource.Id.emojiicon);
                TxtComment    = FindViewById <EmojiconEditText>(Resource.Id.commenttext);
                ImgSent       = FindViewById <ImageView>(Resource.Id.send);
                ImgGallery    = FindViewById <ImageView>(Resource.Id.image);
                ImgBack       = FindViewById <ImageView>(Resource.Id.back);
                CommentLayout = FindViewById <LinearLayout>(Resource.Id.commentLayout);

                BtnVoice = FindViewById <CircleButton>(Resource.Id.voiceButton);
                BtnVoice.LongClickable = true;
                BtnVoice.Tag           = "Free";
                BtnVoice.SetImageResource(Resource.Drawable.microphone);

                TopFragment = FindViewById <FrameLayout>(Resource.Id.TopFragmentHolder);

                TxtComment.Text = "";
                PathImage       = "";
                TextRecorder    = "";

                Methods.SetColorEditText(TxtComment, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                RecordSoundFragment = new RecordSoundFragment();
                SupportFragmentManager.BeginTransaction().Add(TopFragment.Id, RecordSoundFragment, RecordSoundFragment.Tag);

                switch (AppSettings.FlowDirectionRightToLeft)
                {
                case true:
                    ImgBack.SetImageResource(Resource.Drawable.ic_action_ic_back_rtl);
                    break;
                }

                ImgGallery.SetImageDrawable(AppSettings.SetTabDarkTheme ? GetDrawable(Resource.Drawable.ic_action_addpost_Ligth) : GetDrawable(Resource.Drawable.ic_action_AddPost));

                var emojisIcon = new EmojIconActions(this, RootView, TxtComment, EmojisView);
                emojisIcon.ShowEmojIcon();
                emojisIcon.SetIconsIds(Resource.Drawable.ic_action_keyboard, Resource.Drawable.ic_action_sentiment_satisfied_alt);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
        private void InitComponent()
        {
            try
            {
                LikeCountBox     = FindViewById <TextView>(Resource.Id.like_box);
                MainRecyclerView = FindViewById <RecyclerView>(Resource.Id.recycler_view);
                TxtComment       = FindViewById <EditText>(Resource.Id.commenttext);
                ImgSent          = FindViewById <ImageView>(Resource.Id.send);
                ImgGallery       = FindViewById <ImageView>(Resource.Id.image);
                ImgBack          = FindViewById <ImageView>(Resource.Id.back);
                CommentLayout    = FindViewById <LinearLayout>(Resource.Id.commentLayout);

                SwipeRefreshLayout = (SwipeRefreshLayout)FindViewById(Resource.Id.swipeRefreshLayout);
                SwipeRefreshLayout.SetColorSchemeResources(Android.Resource.Color.HoloBlueLight, Android.Resource.Color.HoloGreenLight, Android.Resource.Color.HoloOrangeLight, Android.Resource.Color.HoloRedLight);
                SwipeRefreshLayout.Refreshing = true;
                SwipeRefreshLayout.Enabled    = true;
                SwipeRefreshLayout.SetProgressBackgroundColorSchemeColor(AppSettings.SetTabDarkTheme ? Color.ParseColor("#424242") : Color.ParseColor("#f7f7f7"));

                BtnVoice = FindViewById <CircleButton>(Resource.Id.voiceButton);
                BtnVoice.LongClickable = true;
                BtnVoice.Tag           = "Free";
                BtnVoice.SetImageResource(Resource.Drawable.microphone);

                TopFragment = FindViewById <FrameLayout>(Resource.Id.TopFragmentHolder);

                TxtComment.Text = "";
                PathImage       = "";
                TextRecorder    = "";

                RecordSoundFragment = new RecordSoundFragment();
                SupportFragmentManager.BeginTransaction().Add(TopFragment.Id, RecordSoundFragment, RecordSoundFragment.Tag);

                CommentsAdapter = new CommentAdapter(this, MainRecyclerView, "Light", PostId)
                {
                    CommentList = new ObservableCollection <CommentObjectExtra>()
                };

                if (AppSettings.FlowDirectionRightToLeft)
                {
                    ImgBack.SetImageResource(Resource.Drawable.ic_action_ic_back_rtl);
                }

                ImgGallery.SetImageDrawable(AppSettings.SetTabDarkTheme ? GetDrawable(Resource.Drawable.ic_action_addpost_Ligth) : GetDrawable(Resource.Drawable.ic_action_AddPost));
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }