JakeWharton/ActionBarSherlock — Issue #119: problem with fragmentation actionbar and viewpager 
Author: nixit28
Created: 2011-12-07 01:17:20+00:00
State: open

Hi,

I am using actionbarsherlock library to have action-bar in my application,

I am also using view-pager to switch between the page,

Now the problem is **i want only one tab with two fragment** to display data regarding each other.

What could be the possible way to do this?

I have been going through like the one below but unsuccessful

In main fragment i am inflating a xml like this

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {

View fragView = inflater.inflate(R.layout.album_view_main, container, false);

return fragView;
}

xml fie is look like this

but the problem is i cannot find "frame_list_song" in AlbumFragment class it appears null

what could be the way around ?

thank you