i am having problem in getting the id in second activity, i am passing id in bundle like below in first activity
Bundle bundle = new Bundle();
bundle.putInt(Constants.ID, featured.getId());
bundle.putString(Constants.TITLE, "Team");
openAcitivty(getBundle("Questions" , (Serializable) featured.getAll().getQa()) , ProviderQAactivity.class );
but when i am getting the id in the second activity, it is showing me zero here
uid = getIntent().getBundleExtra(Constants.DATA).getInt(Constants.ID);
please suggests something.