Android Samples
Name | Größe | Rev. | Zeit | Autor | Log Message |
---|---|---|---|---|---|
![]() |
|||||
![]() |
510 | 33f48e9 | 2014-06-14 00:55:04 | Masahiko, SAWAI | Added expandable-listview-hello module |
![]() |
710 | 33f48e9 | 2014-06-14 00:55:04 | Masahiko, SAWAI | Added expandable-listview-hello module |
![]() |
3.09 k | 965e4ff | 2019-05-02 13:04:39 | Masahiko, SAWAI | Updated projects file. |
! expandable-listview-hello 折りたたみ可能なリストビューである ExpandableListView のサンプル。 このサンプルではデータを表示するために SimpleExpandableListAdapter を 使用している。 ExpandableListAdapter は以下のような継承関係となっている。 - android.widget.BaseExpandableListAdapter - android.widget.SimpleExpandableListAdapter - android.widget.CursorTreeAdapter - android.widget.ResourceCursorTreeAdapter - android.widget.SimpleCursorTreeAdapter これらのクラスのうち SimpleExpandableListAdapter 以外は抽象クラスであり、 継承して必要なメソッドを実装して利用する必要がある。