Android Open Source - GitHub-Jobs Job Details Activity






From Project

Back to project page GitHub-Jobs.

License

The source code is released under:

Apache License

If you think the Android project GitHub-Jobs listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.nightlynexus.githubjobs;
//from   w  w w .j  a va2 s  .c om
import android.app.Fragment;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;

public class JobDetailsActivity extends ActionBarActivity {

    public static final String EXTRA_JOB = "EXTRA_JOB";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_start);
        if (savedInstanceState == null) {
            final Fragment fragment = new JobDetailsFragment();
            final Bundle bundle = new Bundle();
            bundle.putSerializable(JobDetailsFragment.KEY_JOB,
                    getIntent().getSerializableExtra(EXTRA_JOB));
            fragment.setArguments(bundle);
            getFragmentManager().beginTransaction()
                    .add(R.id.container, fragment)
                    .commit();
        }
    }
}




Java Source Code List

com.nightlynexus.githubjobs.ApplicationTest.java
com.nightlynexus.githubjobs.ColorfulView.java
com.nightlynexus.githubjobs.JobDetailsActivity.java
com.nightlynexus.githubjobs.JobDetailsFragment.java
com.nightlynexus.githubjobs.Job.java
com.nightlynexus.githubjobs.JobsAdapter.java
com.nightlynexus.githubjobs.JobsFragment.java
com.nightlynexus.githubjobs.JobsListService.java
com.nightlynexus.githubjobs.StartActivity.java