Lines Matching defs:to

10  * Unless required by applicable law or agreed to in writing, software
30 * An easy adapter to map static data to views defined in an XML file. You can specify the data
31 * backing the list as an ArrayList of Maps. Each entry in the ArrayList corresponds to one row
33 * defines the views used to display the row, and a mapping from keys in the Map to specific
36 * Binding data to views occurs in two phases. First, if a
68 * @param data A List of Maps. Each entry in the List corresponds to one row in the list. The
72 * item. The layout file should include at least those named views defined in "to"
73 * @param from A list of column names that will be added to the Map associated with each
75 * @param to The views that should display column in the "from" parameter. These should all be
80 int resource, String[] from, int[] to) {
84 mTo = to;
132 * <p>Sets the layout resource to create the drop down views.</p>
154 final int[] to = mTo;
155 final int count = to.length;
158 final View v = view.findViewById(to[i]);
181 " should be bound to a Boolean, not a " +
204 * Returns the {@link ViewBinder} used to bind data to views.
215 * Sets the binder used to bind data to views.
217 * @param viewBinder the binder used to bind data to views, can be null to
227 * Called by bindView() to set the image for an ImageView but only if
229 * handle binding to an ImageView.
234 * @param v ImageView to receive an image
244 * Called by bindView() to set the image for an ImageView but only if
246 * handle binding to an ImageView.
255 * @param v ImageView to receive an image
269 * Called by bindView() to set the text for a TextView but only if
271 * handle binding to a TextView.
273 * @param v TextView to receive text
274 * @param text the text to be set for the TextView
288 * This class can be used by external clients of SimpleAdapter to bind
289 * values to views.
291 * You should use this class to bind values to views that are not
292 * directly supported by SimpleAdapter or to change the way binding
301 * Binds the specified data to the specified view.
304 * If this method returns false, SimpleAdapter will attempts to handle
307 * @param view the view to bind the data to
308 * @param data the data to bind to the view
313 * @return true if the data was bound to the view, false otherwise