6.3.2.4.8. LocalResourceListAdapter

public class LocalResourceListAdapter extends ListSelectorAdapter

Adapter to represent folders and files

6.3.2.4.8.1. Fields

6.3.2.4.8.1.1. mOnChangePathListener

protected OnChangePathListener mOnChangePathListener

6.3.2.4.8.1.2. mPathAdapter

protected PathAdapter mPathAdapter

6.3.2.4.8.1.3. mResources

protected List<LocalResourceListItem> mResources

6.3.2.4.8.2. Constructors

6.3.2.4.8.2.1. LocalResourceListAdapter

public LocalResourceListAdapter()

6.3.2.4.8.3. Methods

6.3.2.4.8.3.1. getItemCount

public int getItemCount()

6.3.2.4.8.3.2. getItemId

public long getItemId(int position)

6.3.2.4.8.3.3. getItemViewResId

protected int getItemViewResId()

6.3.2.4.8.3.4. getSelectedItems

public List<LocalResourceListItem> getSelectedItems()

6.3.2.4.8.3.5. getViewHolder

protected ListSelectorAdapter.ViewHolder getViewHolder(View itemView)

6.3.2.4.8.3.6. onBindViewHolder

public void onBindViewHolder(ListSelectorAdapter.ViewHolder holder, int position)

6.3.2.4.8.3.7. setCurrentPath

protected void setCurrentPath(File path)

6.3.2.4.8.3.8. setOnChangePathListener

public void setOnChangePathListener(OnChangePathListener listener)

6.3.2.4.8.3.9. setPathAdapter

public void setPathAdapter(LinearLayout linearLayout, File path)

6.3.2.4.8.3.10. setResources

public void setResources(List<LocalResourceListItem> resources)

6.3.2.4.8.3.11. setSelection

public void setSelection(String path, boolean selection)