Back to project page android-facade-example.
The source code is released under:
MIT License
If you think the Android project android-facade-example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.ruenzuo.weatherapp.activities; //from w ww .j a va 2s . c o m import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.widget.SwipeRefreshLayout; import com.ruenzuo.weatherapp.R; import com.ruenzuo.weatherapp.fragments.CountriesListFragment; import com.ruenzuo.weatherapp.managers.WeatherAppManager; import com.ruenzuo.weatherapp.models.Country; public class CountriesActivity extends Activity implements CountriesListFragment.CountriesListFragmentListener { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_countries); getActionBar().setTitle("Countries"); } @Override public void onCountrySelected(Country country) { Intent intent = new Intent(this, CitiesActivity.class); intent.putExtra("Country", country); startActivity(intent); } }