0

Im trying to use xamarin.auth to loging with facebook, but every tutorial uses startactivity(auth.getui(this));

but startactivity doesnt work with me, i cant run it

Xamarin Android Xamarin.Auth - Twitter

he uses it but when i try his code visual studio gives it a red underline:

https://i.stack.imgur.com/Svk2M.png

I doesnt matter where i put it, it doesnt work, please help.

Community
  • 1
  • 1
Ruben Pera
  • 11
  • 2

1 Answers1

0

It depends on the parameters but you can use:

Forms.Context.StartActivity (Intent... or Forms.Context);
Mario Galván
  • 3,964
  • 6
  • 29
  • 39