public interface

ListIndexer

com.neomades.ui.ListIndexer

Class Overview

Interface that should be implemented to enable indexer on ListView or GridView.

An indexer shows on a GridView or ListView, a list of indexes (alphabetical index shows letters for example) at the right of list. The user could go to a specific position of the list by selecting an index (a letter for example).

Summary

Public Methods
abstract String getName(int atIndex)
Get the name (from data) behind an item.

Public Methods

public abstract String getName (int atIndex)

Get the name (from data) behind an item.

The GridView or ListView will use this name to compare it with indexes (see setIndexes(String[]).

Parameters
atIndex index of the item
Returns
  • the name of the item at the expected index