Forum Xamarin.Android


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Problem with companion objects binding library for Android.

Hello, I'm a little bit frustrated :'( , I can't access to a Kotlin's companion object method for create a component that has not visible constructors. The binding library generates a Component.Companion with the Make() method for create the component, but the Component class has not a instance of it, the Companion has not a visible contructor too and the Make() method is not static.

So, what would be the correct solution for that specific problem? I will be eternally grateful if you find the answer that rescues my end-of-grade work. o:)


Sign In or Register to comment.