Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

how to implement UiViewController and UITableViewDataSource together

$
0
0

Hi i want to implement music player some thing like below: http://www.codigator.com/tutorials/how-to-make-a-custom-ios-music-player/ using Xamarin.

the problem i am facing is i can not inherit two classes in c#.

    `public partial class MusicDetaildViewController : UIViewController,UITableViewSource

        { 
....

i can't do this in C# as "classes can not have multiple bases classes".

how to achieve this in monotouch. please let me know one option i thought was creating separate class and inherit UITableViewSource, but how can i access GUI elements like (playpause button,slider etcc inside rowselected method of derived class for UITableViewSource?

what are the other options?, if possible u can help me with small code snippet ?

thanks


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>