Exemplo n.º 1
0
        public override Fragment GetItem(int position)
        {
            var fragment = TestsFragment.NewInstanse(position);

            FragmentsWatcher.Instance.Add(fragment);
            return(fragment);
        }
Exemplo n.º 2
0
        public static TestsFragment NewInstanse(int pos)
        {
            Bundle bundle = new Bundle();

            bundle.PutInt(Args.QUESTION_POS, pos);
            var fragment = new TestsFragment
            {
                Arguments = bundle
            };

            return(fragment);
        }