Question Xamarin Not changing layout after logging in

BartusZak

New member
Joined
Nov 17, 2016
Messages
2
Programming Experience
Beginner
I have a problem with logging in my application.
https://github.com/BartusZak/Dziennik-Cwiczen
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/40644605/not-changing-layout-after-logging-in-xamarin
 
Back
Top Bottom