@@ -0,0 +1,705 @@
+package org.app.material.widget;%0A%0Aimport android.support.annotation.StringRes;%0Aimport android.support.v4.app.Fragment;%0A%0Apublic class FragmentSet %7B%0A%0A    private Fragment fragment;%0A    private CharSequence title;%0A    private @StringRes int resId;%0A%0A    public FragmentSet(Fragment fragment, CharSequence title) %7B%0A        this.fragment = fragment;%0A        this.title = title;%0A    %7D%0A%0A    public FragmentSet(Fragment fragment, @StringRes int resId) %7B%0A        this.fragment = fragment;%0A        this.resId = resId;%0A    %7D%0A%0A    public Fragment getFragment() %7B%0A        return fragment;%0A    %7D%0A%0A    public CharSequence getTitle() %7B%0A        return title;%0A    %7D%0A%0A    public int getResId() %7B%0A        return resId;%0A    %7D%0A%7D

Add set to fragment pager adapter