Xamarin Not changing layout after logging in
I have a problem with logging in my application.
When I click "log in button" there a new dialog appears..... Now entering correct data and dialog is disappearing. Everything fine. But it should change the layout (SetContentView(Resource.Layout.dziennik2).
When I'm doing these steps for a second time that is working even with wrong data.
Can smb help me with fixing that?
There could be a problem that method ZalogujDialog_OnZalogujComplete is called before event. I have placed variable ZalogujSuccess to check if it is logged.
Thank you very much for any help. I have spent 3 days already and have no idea how to fix that
posted also at http://stackoverflow.com/questions/4...ing-in-xamarin