Back to project page NerdZoo.
The source code is released under:
Apache License
If you think the Android project NerdZoo 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.bignerdranch.android.nerdzoo.controller; /*w w w.ja v a2s . c om*/ import android.content.Intent; import android.support.v4.app.Fragment; import com.bignerdranch.android.nerdzoo.base.BaseNormalActivity; import java.util.UUID; public class AnimalActivity extends BaseNormalActivity { @Override protected Fragment createFragment() { Intent intent = getIntent(); UUID id = (UUID) intent.getSerializableExtra(ZooFragment.EXTRA_ANIMAL_ID); return AnimalFragment.newInstance(id); } }