TasksWear/src/main/java/com/dummies/tasks/WearableTaskListAdapter.java
@Override
    public void onBindViewHolder(
        WearableListView.ViewHolder viewHolder, int i) {

        // Find the DataItem for the item in position i.
        DataItem dataItem = dataItems.get(i);

        // Reconstruct the original DataMap for that item
        DataMap map
            = DataMapItem.fromDataItem(dataItem).getDataMap();

        // Set the title view text based on the COLUMN_TITLE in the
        // DataMap
        ((ViewHolder) viewHolder).titleView.setText(
            map.getString(COLUMN_TITLE)
        );
    }
/**
     * Update the views in the ViewHolder using the information in the
     * item in position i.
     */
Update the views in the ViewHolder using the information in the
item in position i.
Update the views in the ViewHolder using the information in the item in position i .
@Override
    public void onBindViewHolder(
        WearableListView.ViewHolder viewHolder, int i) {
        DataItem dataItem = dataItems.get(i);
        DataMap map
            = DataMapItem.fromDataItem(dataItem).getDataMap();
        ((ViewHolder) viewHolder).titleView.setText(
            map.getString(COLUMN_TITLE)
        );
    }
@ Override public void onBindViewHolder ( WearableListView . ViewHolder viewHolder , int i ) { DataItem dataItem = dataItems . get ( i ) ; DataMap map = DataMapItem . fromDataItem ( dataItem ) . getDataMap ( ) ; ( ( ViewHolder ) viewHolder ) . titleView . setText ( map . getString ( COLUMN_TITLE ) ) ; }
Update the views in the ViewHolder using the information in the
 item in position i.
Update the views in the ViewHolder using the information in the item in position i .
// Find the DataItem for the item in position i. // Reconstruct the original DataMap for that item // Set the title view text based on the COLUMN_TITLE in the // DataMap