IT. Expert System.

Android Reference

ResourceCursorTreeAdapter


android.widget

Class ResourceCursorTreeAdapter

    • Constructor Detail

      • ResourceCursorTreeAdapter

        public ResourceCursorTreeAdapter(Context context,
                                 Cursor cursor,
                                 int collapsedGroupLayout,
                                 int expandedGroupLayout,
                                 int childLayout,
                                 int lastChildLayout)
        Constructor.
        Parameters:
        context - The context where the ListView associated with this SimpleListItemFactory is running
        cursor - The database cursor
        collapsedGroupLayout - resource identifier of a layout file that defines the views for collapsed groups.
        expandedGroupLayout - resource identifier of a layout file that defines the views for expanded groups.
        childLayout - resource identifier of a layout file that defines the views for all children but the last..
        lastChildLayout - resource identifier of a layout file that defines the views for the last child of a group.
      • ResourceCursorTreeAdapter

        public ResourceCursorTreeAdapter(Context context,
                                 Cursor cursor,
                                 int collapsedGroupLayout,
                                 int expandedGroupLayout,
                                 int childLayout)
        Constructor.
        Parameters:
        context - The context where the ListView associated with this SimpleListItemFactory is running
        cursor - The database cursor
        collapsedGroupLayout - resource identifier of a layout file that defines the views for collapsed groups.
        expandedGroupLayout - resource identifier of a layout file that defines the views for expanded groups.
        childLayout - resource identifier of a layout file that defines the views for all children.
      • ResourceCursorTreeAdapter

        public ResourceCursorTreeAdapter(Context context,
                                 Cursor cursor,
                                 int groupLayout,
                                 int childLayout)
        Constructor.
        Parameters:
        context - The context where the ListView associated with this SimpleListItemFactory is running
        cursor - The database cursor
        groupLayout - resource identifier of a layout file that defines the views for all groups.
        childLayout - resource identifier of a layout file that defines the views for all children.
    • Method Detail

      • newChildView

        public View newChildView(Context context,
                        Cursor cursor,
                        boolean isLastChild,
                        ViewGroup parent)
        Description copied from class: CursorTreeAdapter
        Makes a new child view to hold the data pointed to by cursor.
        Specified by:
        newChildView in class CursorTreeAdapter
        Parameters:
        context - Interface to application's global information
        cursor - The cursor from which to get the data. The cursor is already moved to the correct position.
        isLastChild - Whether the child is the last child within its group.
        parent - The parent to which the new view is attached to
        Returns:
        the newly created view.
      • newGroupView

        public View newGroupView(Context context,
                        Cursor cursor,
                        boolean isExpanded,
                        ViewGroup parent)
        Description copied from class: CursorTreeAdapter
        Makes a new group view to hold the group data pointed to by cursor.
        Specified by:
        newGroupView in class CursorTreeAdapter
        Parameters:
        context - Interface to application's global information
        cursor - The group cursor from which to get the data. The cursor is already moved to the correct position.
        isExpanded - Whether the group is expanded.
        parent - The parent to which the new view is attached to
        Returns:
        The newly created view.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 3143 / . Delta: 0.03374 с