Tabnine Logo
ViewPagerItem
Code IndexAdd Tabnine to your IDE (free)

How to use
ViewPagerItem
in
com.ogaclejapan.smarttablayout.utils

Best Java code snippets using com.ogaclejapan.smarttablayout.utils.ViewPagerItem (Showing top 16 results out of 315)

origin: ogaclejapan/SmartTabLayout

public static ViewPagerItem of(CharSequence title, float width, @LayoutRes int resource) {
 return new ViewPagerItem(title, width, resource);
}
origin: ogaclejapan/SmartTabLayout

public static ViewPagerItem of(CharSequence title, @LayoutRes int resource) {
 return of(title, DEFAULT_WIDTH, resource);
}
origin: ogaclejapan/SmartTabLayout

@Override
public Object instantiateItem(ViewGroup container, int position) {
 View view = getPagerItem(position).initiate(inflater, container);
 container.addView(view);
 holder.put(position, new WeakReference<View>(view));
 return view;
}
origin: ogaclejapan/SmartTabLayout

@Override
public CharSequence getPageTitle(int position) {
 return getPagerItem(position).getTitle();
}
origin: ogaclejapan/SmartTabLayout

@Override
public float getPageWidth(int position) {
 return getPagerItem(position).getWidth();
}
origin: ogaclejapan/SmartTabLayout

@Override
public Object instantiateItem(ViewGroup container, int position) {
 View view = getPagerItem(position).initiate(inflater, container);
 container.addView(view);
 holder.put(position, new WeakReference<View>(view));
 return view;
}
origin: ogaclejapan/SmartTabLayout

@Override
public CharSequence getPageTitle(int position) {
 return getPagerItem(position).getTitle();
}
origin: ogaclejapan/SmartTabLayout

@Override
public float getPageWidth(int position) {
 return getPagerItem(position).getWidth();
}
origin: ogaclejapan/SmartTabLayout

public static ViewPagerItem of(CharSequence title, @LayoutRes int resource) {
 return of(title, DEFAULT_WIDTH, resource);
}
origin: ogaclejapan/SmartTabLayout

public static ViewPagerItem of(CharSequence title, float width, @LayoutRes int resource) {
 return new ViewPagerItem(title, width, resource);
}
origin: ogaclejapan/SmartTabLayout

public Creator add(CharSequence title, @LayoutRes int resource) {
 return add(ViewPagerItem.of(title, resource));
}
origin: ogaclejapan/SmartTabLayout

public Creator add(CharSequence title, @LayoutRes int resource) {
 return add(ViewPagerItem.of(title, resource));
}
origin: ogaclejapan/SmartTabLayout

public Creator add(@StringRes int title, float width, @LayoutRes int resource) {
 return add(ViewPagerItem.of(items.getContext().getString(title), width, resource));
}
origin: ogaclejapan/SmartTabLayout

public Creator add(@StringRes int title, @LayoutRes int resource) {
 return add(ViewPagerItem.of(items.getContext().getString(title), resource));
}
origin: ogaclejapan/SmartTabLayout

public Creator add(@StringRes int title, @LayoutRes int resource) {
 return add(ViewPagerItem.of(items.getContext().getString(title), resource));
}
origin: ogaclejapan/SmartTabLayout

public Creator add(@StringRes int title, float width, @LayoutRes int resource) {
 return add(ViewPagerItem.of(items.getContext().getString(title), width, resource));
}
com.ogaclejapan.smarttablayout.utilsViewPagerItem

Most used methods

  • <init>
  • getTitle
  • getWidth
  • initiate
  • of

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • getApplicationContext (Context)
  • requestLocationUpdates (LocationManager)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JFrame (javax.swing)
  • JList (javax.swing)
  • JTextField (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now