Tabnine Logo
FastAdapter.notifyAdapterItemChanged
Code IndexAdd Tabnine to your IDE (free)

How to use
notifyAdapterItemChanged
method
in
com.mikepenz.fastadapter.FastAdapter

Best Java code snippets using com.mikepenz.fastadapter.FastAdapter.notifyAdapterItemChanged (Showing top 6 results out of 315)

origin: mikepenz/FastAdapter

/**
 * wraps notifyItemChanged
 *
 * @param position the global position
 */
public void notifyAdapterItemChanged(int position) {
  notifyAdapterItemChanged(position, null);
}
origin: mikepenz/FastAdapter

@Override
public void set(int position, Item item, int preItemCount) {
  mItems.set(position - preItemCount, item);
  if (getFastAdapter() != null) {
    getFastAdapter().notifyAdapterItemChanged(position);
  }
}
origin: mikepenz/FastAdapter

/**
 * notifies items (incl. sub items if they are currently extended)
 *
 * @param adapter              the adapter
 * @param identifiers          set of identifiers that should be notified
 * @param restoreExpandedState true, if expanded headers should stay expanded
 */
public static <Item extends IItem & IExpandable> void notifyItemsChanged(final FastAdapter adapter, ExpandableExtension expandableExtension, Set<Long> identifiers, boolean restoreExpandedState) {
  int i;
  IItem item;
  for (i = 0; i < adapter.getItemCount(); i++) {
    item = adapter.getItem(i);
    if (item instanceof IExpandable) {
      notifyItemsChanged(adapter, expandableExtension, (Item) item, identifiers, true, restoreExpandedState);
    } else if (identifiers.contains(item.getIdentifier())) {
      adapter.notifyAdapterItemChanged(i);
    }
  }
}
origin: mikepenz/FastAdapter

adapter.notifyAdapterItemChanged(position);
  if (identifiers.contains(item.getIdentifier())) {
    adapter.notifyAdapterItemChanged(position + i + 1);
origin: mikepenz/FastAdapter

fastAdapter.notifyAdapterItemChanged(parentPos);
origin: mikepenz/FastAdapter

fastAdapter.notifyAdapterItemChanged(parentPos);
com.mikepenz.fastadapterFastAdapternotifyAdapterItemChanged

Javadoc

wraps notifyItemChanged

Popular methods of FastAdapter

  • with
    creates a new FastAdapter with the provided adapters if adapters is null, a default ItemAdapter is d
  • getItem
    gets the IItem by a position, from all registered adapters
  • getItemCount
    calculates the total ItemCount over all registered adapters
  • getExtension
  • getAdapter
    Gets the adapter for the given position
  • getPosition
    Searches for the given item and calculates its global position
  • getSelections
  • withSelectable
    Set to true if you want the items to be selectable. By default, no items are selectable
  • addExtension
  • getPreItemCountByOrder
    calculates the item count up to a given (excluding this) order number
  • getRelativeInfo
    Internal method to get the Item as ItemHolder which comes with the relative position within its adap
  • notifyItemChanged
  • getRelativeInfo,
  • notifyItemChanged,
  • saveInstanceState,
  • select,
  • withSavedInstanceState,
  • addAdapter,
  • getItemId,
  • getItemViewType,
  • getPreItemCount,
  • getSelectedItems

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Path (java.nio.file)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Join (org.hibernate.mapping)
  • From CI to AI: The AI layer in your organization
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