use of io.recom.howabout.category.music.fragment.SearchedTrackListFragment in project howabout-android by recomio.
the class SearchedTrackListActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Bundle bundle = getIntent().getExtras();
searchKeyword = bundle.getString("searchKeyword");
ActionBar actionBar = getSupportActionBar();
actionBar.setTitle(R.string.menu_search);
actionBar.setSubtitle(searchKeyword);
searchedTrackListFragment = new SearchedTrackListFragment();
Bundle recommendedTrackListFragmentBundle = new Bundle();
recommendedTrackListFragmentBundle.putString("searchKeyword", searchKeyword);
searchedTrackListFragment.setArguments(recommendedTrackListFragmentBundle);
getSupportFragmentManager().beginTransaction().replace(R.id.contentView, searchedTrackListFragment, "music_search").commit();
}
Aggregations