Skip to content

Conversation

hrprt96
Copy link

@hrprt96 hrprt96 commented Dec 18, 2018

[screenshot]
splash screen

Animation myanim = AnimationUtils.loadAnimation(this , R.anim.mytransition);
tv.startAnimation(myanim);
iv.startAnimation(myanim);
final Intent i = new Intent(this, GlobalActivity.class);
Copy link
Owner

@Sparker0i Sparker0i Dec 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh no, this can't be accepted. Simply doing a sleep() will only increase the time taken to display the weather data.

As I had said in #27 , GlobalActivity.java must be the splash screen. In this you check whether the city has been set or not. If not, it goes to Enter City screen. If it has been set, GlobalActivity.java will load the weather data in this splash screen and send the data received to the WeatherActivity, where the WeatherFragment should parse it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants