congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ViewPagerItems
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: ogaclejapan/SmartTabLayout

public Creator(Context context) {
 items = new ViewPagerItems(context);
}
origin: ogaclejapan/SmartTabLayout

public Creator add(ViewPagerItem item) {
 items.add(item);
 return this;
}
origin: ogaclejapan/SmartTabLayout

 protected ViewPagerItem getPagerItem(int position) {
  return pages.get(position);
 }
}
origin: ogaclejapan/SmartTabLayout

public ViewPagerItemAdapter(ViewPagerItems pages) {
 this.pages = pages;
 this.holder = new SparseArrayCompat<>(pages.size());
 this.inflater = LayoutInflater.from(pages.getContext());
}
origin: ogaclejapan/SmartTabLayout

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

@Override
public int getCount() {
 return pages.size();
}
origin: ogaclejapan/SmartTabLayout

public ViewPagerItemAdapter(ViewPagerItems pages) {
 this.pages = pages;
 this.holder = new SparseArrayCompat<>(pages.size());
 this.inflater = LayoutInflater.from(pages.getContext());
}
origin: ogaclejapan/SmartTabLayout

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

@Override
public int getCount() {
 return pages.size();
}
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

 protected ViewPagerItem getPagerItem(int position) {
  return pages.get(position);
 }
}
origin: ogaclejapan/SmartTabLayout

public Creator(Context context) {
 items = new ViewPagerItems(context);
}
origin: ogaclejapan/SmartTabLayout

public Creator add(ViewPagerItem item) {
 items.add(item);
 return this;
}
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.utilsViewPagerItems

Most used methods

  • <init>
  • add
  • get
  • getContext
  • size

Popular in Java

  • Reading from database using SQL prepared statement
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JList (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top plugins for WebStorm
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