Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

MediaController and MediaPlayer not able to set

I cannot seem to get paste the mediaController.SetMediaPlayer(player); even if I cast it to a MediaController.IMediaPlayerControl. sadly there are hundreds of examples of this issue but everyone just answers with the Java solutions not the C# way to address this.

        MediaPlayer player = new MediaPlayer();
        MediaController controller = new MediaController(ApplicationContext);
        controller.SetMediaPlayer((MediaController.IMediaPlayerControl) player);
Sign In or Register to comment.