SegmentedControl icon indicating copy to clipboard operation
SegmentedControl copied to clipboard

Default constructor not found

Open hnabbasi opened this issue 6 years ago • 4 comments

App Base: Xamarin.Forms SegmentControl version: 2.0.1

Calling SegmentControlRenderer.init() in MainActivity

Result: Runtime exception: Default constructor not found for type SegmentedControl.FormsPlugin.Android.SegmentedControlRenderer

hnabbasi avatar Mar 08 '18 00:03 hnabbasi

I'm having this issue when I try to display the SegmentedControl in Android, not when calling Init(). You have this issue closed. How can I prevent this to happen? Thanks in advance

ramonesteban78 avatar Mar 13 '18 15:03 ramonesteban78

I removed the call to init() in Android and it worked just fine.

hnabbasi avatar Mar 13 '18 16:03 hnabbasi

Ok. So I got it to work by downgrading to 1.3.4 for Android. 2.0.0+ still fails.

hnabbasi avatar Mar 14 '18 18:03 hnabbasi

I also have the same issue on Android on 2.0.1.

Downgraded to 1.3.4 and it works. Thank you @hnabbasi

zanesc avatar Apr 26 '18 16:04 zanesc