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

Login Screen Control

$
0
0

Good day all!!!

I'm new at Android development. Like a few weeks old. I'm using the Login Screen Control which I've have got working up until the point where I have a successful login. Now I'm stuck at how I use the 'successCallback' to close the login screen and open the main application screen. I'm doing the following:

if (result.Property("error") != null) 
                    {
                        failCallback (new LoginScreenFaultDetails {
                            CommonErrorMessage = result.Property("error").Value.ToString()
                        });
                    } else 
                    {
                        Console.WriteLine("logged in successfully");
                        Console.WriteLine("Phase 1");
                        successCallback(); //callback closes login screen but how do I open main screen???
                        Console.WriteLine("Phase 2");
                    }

This is being done inside 'public class CredentialsProvider : ICredentialsProvider'


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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