Codota Logo
AbstractWheelTextAdapter
Code IndexAdd Codota to your IDE (free)

How to use
AbstractWheelTextAdapter
in
kankan.wheel.widget.adapters

Best Java code snippets using kankan.wheel.widget.adapters.AbstractWheelTextAdapter (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: wulianghuan/Cascade_Master

@Override
public View getEmptyItem(View convertView, ViewGroup parent) {
  if (convertView == null) {
    convertView = getView(emptyItemResourceId, parent);
  }
  if (emptyItemResourceId == TEXT_VIEW_ITEM_RESOURCE && convertView instanceof TextView) {
    configureTextView((TextView)convertView);
  }
    
  return convertView;
}
origin: babylikebird/YinYueTai

@Override
public View getItem(int index, View cachedView, ViewGroup parent) {
  View view = super.getItem(index, cachedView, parent);
  return view;
}
origin: wulianghuan/Cascade_Master

@Override
public View getItem(int index, View convertView, ViewGroup parent) {
  if (index >= 0 && index < getItemsCount()) {
    if (convertView == null) {
      convertView = getView(itemResourceId, parent);
    }
    TextView textView = getTextView(convertView, itemTextResourceId);
    if (textView != null) {
      CharSequence text = getItemText(index);
      if (text == null) {
        text = "";
      }
      textView.setText(text);

      if (itemResourceId == TEXT_VIEW_ITEM_RESOURCE) {
        configureTextView(textView);
      }
    }
    return convertView;
  }
  return null;
}
origin: youmu178/WheelPicker

@Override
public View getItem(int index, View convertView, ViewGroup parent) {
  if (index >= 0 && index < getItemsCount()) {
    if (convertView == null) {
      convertView = getView(itemResourceId, parent);
    TextView textView = getTextView(convertView, itemTextResourceId);
    if (!arrayList.contains(textView)) {
      arrayList.add(textView);
      CharSequence text = getItemText(index);
      if (text == null) {
        text = "";
        configureTextView(textView);
origin: youmu178/WheelPicker

@Override
public View getEmptyItem(View convertView, ViewGroup parent) {
  if (convertView == null) {
    convertView = getView(emptyItemResourceId, parent);
  }
  if (emptyItemResourceId == TEXT_VIEW_ITEM_RESOURCE && convertView instanceof TextView) {
    configureTextView((TextView) convertView);
  }
  return convertView;
}

origin: babylikebird/YinYueTai

@Override
public View getItem(int index, View cachedView, ViewGroup parent) {
  View view = super.getItem(index, cachedView, parent);
  return view;
}
origin: youmu178/WheelPicker

@Override
public View getItem(int index, View cachedView, ViewGroup parent) {
  View view = super.getItem(index, cachedView, parent);
  return view;
}
kankan.wheel.widget.adaptersAbstractWheelTextAdapter

Javadoc

Abstract wheel adapter provides common functionality for adapters.

Most used methods

  • configureTextView
    Configures text view. Is called for the TEXT_VIEW_ITEM_RESOURCE views.
  • getItem
  • getItemText
    Returns text for specified item
  • getItemsCount
  • getTextView
    Loads a text view from view
  • getView
    Loads view from resources

Popular in Java

  • Updating database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • addToBackStack (FragmentTransaction)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Socket (java.net)
    Provides a client-side TCP socket.
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now