IT. Expert System.

Android Reference

GridScenario


android.util

Class GridScenario

    • Constructor Detail

      • GridScenario

        public GridScenario()
    • Method Detail

      • getGridView

        public GridView getGridView()
      • getScreenHeight

        protected int getScreenHeight()
      • getInitialNumItems

        protected int getInitialNumItems()
        Returns:
        The initial number of items in the grid as specified by the scenario. This number may change over time.
      • getDesiredItemHeight

        public int getDesiredItemHeight()
        Returns:
        The desired height of 1 item, ignoring overrides
      • init

        protected abstract void init(GridScenario.Params params)
        How each scenario customizes its behavior.
        Parameters:
        params -
      • createAdapter

        protected ListAdapter createAdapter()
        Override this to provide an different adapter for your scenario
        Returns:
        The adapter that this scenario will use
      • positionSelected

        protected void positionSelected(int positon)
        Override this if you want to know when something has been selected (perhaps more importantly, that AdapterView.OnItemSelectedListener has been triggered).
      • nothingSelected

        protected void nothingSelected()
        Override this if you want to know that nothing is selected.
      • getValueAtPosition

        public final String getValueAtPosition(int position)
      • createView

        protected View createView(int position,
                      ViewGroup parent,
                      int desiredHeight)
        Create a view for a grid item. Override this to create a custom view beyond the simple focusable / unfocusable text view.
        Parameters:
        position - The position.
        parent - The parent
        desiredHeight - The height the view should be to respect the desired item to screen height ratio.
        Returns:
        a view for the grid.


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: 1623 / . Delta: 0.05729 с