I have a test project (see attached) that asks for user name and password in the main Activity when the "Login" button is pressed. It does an HTTP GET to send the request and get a "Result " back. Is the Result is "True" then login was good so then display the next Activity Screen (eventsList). BUT, the program flow is as the attached flow screenshot. I dont know why it goes back to the Main Activity. What am I doing wrong?
Also attached is the simple project.
"Result" is a string returned from the http response. I may have declared it in the wrong place , but, I dont think it should matter much to be honest.
I moved it to "Globals" and it made no difference.