I got the following code, that is run everytime I want to change the contents on screen:
        if (Globals.PagerAdapter.Count == 0) {
            SetContentView(Resource.Layout.Loading);
        } else {
            Pager = new ViewPager(this);
            Pager.Id = PagerID++; // Dummy id, not setting one will cause crash
            Pager.Adapter = Globals.PagerAdapter;
            if (currentFrame >= 0) {
                Pager.SetCurrentItem(currentFrame, false);
            }
            SetContentView(Pager);
        }
The Globals.PagerAdapter, and the backing data, is of course changed before this code is run. The problem I have, is that when I call this method, the viewpager being used is the same, event though I explicetly create a new one. All that happens really, is that it moves to the first fragment of the viewpager.
What am I missing here?
