Xamarin.Forms.InputKit icon indicating copy to clipboard operation
Xamarin.Forms.InputKit copied to clipboard

I cannot initialize Plugin in Android and icon's RadioButtons don't show

Open ghost opened this issue 6 years ago • 4 comments
trafficstars

My Question Here ?

I cannot initialize plugin in Android because when I write Plugin.InputKit after this, i haven't the posibility about reference Platform for initialize in Android. And i believe for that reason I cannot see the icons on RadioButtonGroupView. Althought, I can see the text that i put in radio button and funcionality works fine, but not appear the icons.

  	    RadioButtonGroupView tipo = new RadioButtonGroupView
            {
                Orientation = StackOrientation.Horizontal,
                Spacing = 50,
                IsVisible = true,


            };


            RadioButton radio1 = new RadioButton
            {
                Text = "Bye",
                TextFontSize = 15,
                Value = "Bye",
                CircleColor  = Color.Black,
                IsVisible = true,
               

            };

            RadioButton radio2 = new RadioButton
            {
                Text = "Hi",
                TextFontSize = 15,
                Value = "Hi",
                CircleColor = Color.Black,
                IsVisible = true

            };

ghost avatar Apr 03 '19 09:04 ghost

Can you share Android version which issue occurs in?

enisn avatar Apr 03 '19 10:04 enisn

All its fix it. That it produces because my target platform was android 8.0 and folder yo android search 8.1. I fix it changed the target platform to Android 8.1. Thank you so much.

El 3 abr 2019, a las 12:30, Enis Necipoglu [email protected] escribió:

Can you share Android version which issue occours in?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

piratecharly avatar Apr 04 '19 08:04 piratecharly

Hi I am facing the same issue.

When I add following line in MainActivity.cs

Plugin.InputKit.Platforms.Droid.Config.Init(this, savedInstanceState);

It Gives me error. 'object' does not contain a definition for 'Config' and no extension method 'Config' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) (CS1061) (GoAVM.Android)

ketanparekh avatar May 16 '19 12:05 ketanparekh

Hi I am facing the same issue.

When I add following line in MainActivity.cs

Plugin.InputKit.Platforms.Droid.Config.Init(this, savedInstanceState);

It Gives me error. 'object' does not contain a definition for 'Config' and no extension method 'Config' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) (CS1061) (GoAVM.Android)

Which InputKit version are you using ?

enisn avatar May 16 '19 12:05 enisn