android - How to use getSupportFragmentManager() in YoutubeBaseActivity? -


i have class extends youtubebaseactivity , inside want import getsupportfragmentmanager() setting adapter. adapter extends fragmentstatepageradapter. constructer of adapter is:

public viewpageradaptermovies(fragmentmanager fm ,arraylist<moviecategoryparent> moviecategorytabtitles, int mnumboftabsumb) {      super(fm);     this.moviecategorytabtitles = moviecategorytabtitles;     this.numboftabs = mnumboftabsumb;   } 

the main problem here not being able use getsupportfragmentmanager() send in adapter.


Comments

Popular posts from this blog

c# - Pausing a storyboard on TabItem mouse over -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -