blob: ee05027360747a755d67dde10b7b5a440a9a8586 [file] [log] [blame]
Dirk Doughertyf343d3d2011-02-08 11:42:32 -08001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<HTML style="overflow:auto;">
3<HEAD>
4<meta name="generator" content="JDiff v1.1.0">
5<!-- Generated by the JDiff Javadoc doclet -->
6<!-- (http://www.jdiff.org) -->
7<meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.">
8<meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
9<TITLE>
10android.widget.ListView
11</TITLE>
12<link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
13<link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
14<noscript>
15<style type="text/css">
16body{overflow:auto;}
17#body-content{position:relative; top:0;}
18#doc-content{overflow:visible;border-left:3px solid #666;}
19#side-nav{padding:0;}
20#side-nav .toggle-list ul {display:block;}
21#resize-packages-nav{border-bottom:3px solid #666;}
22</style>
23</noscript>
24<style type="text/css">
25</style>
26</HEAD>
27<BODY>
28<!-- Start of nav bar -->
29<a name="top"></a>
30<div id="header" style="margin-bottom:0;padding-bottom:0;">
31<div id="headerLeft">
32<a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
33</div>
34 <div id="headerRight">
35 <div id="headerLinks">
36<!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
37<span class="text">
38<!-- &nbsp;<a href="#">English</a> | -->
39<nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://www.android.com" target="_top">Android.com</a></nobr>
40</span>
41</div>
42 <div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
43 <table class="diffspectable">
44 <tr>
45 <td colspan="2" class="diffspechead">API Diff Specification</td>
46 </tr>
47 <tr>
48 <td class="diffspec" style="padding-top:.25em">To Level:</td>
49 <td class="diffvaluenew" style="padding-top:.25em">11</td>
50 </tr>
51 <tr>
52 <td class="diffspec">From Level:</td>
53 <td class="diffvalueold">10</td>
54 </tr>
55 <tr>
56 <td class="diffspec">Generated</td>
Dirk Dougherty301431d2011-02-19 17:22:29 -080057 <td class="diffvalue">2011.02.19 17:19</td>
Dirk Doughertyf343d3d2011-02-08 11:42:32 -080058 </tr>
59 </table>
60 </div><!-- End and-diff-id -->
61 <div class="and-diff-id" style="margin-right:8px;">
62 <table class="diffspectable">
63 <tr>
64 <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
65 </tr>
66 </table>
67 </div> <!-- End and-diff-id -->
68 </div> <!-- End headerRight -->
69 </div> <!-- End header -->
70<div id="body-content" xstyle="padding:12px;padding-right:18px;">
71<div id="doc-content" style="position:relative;">
72<div id="mainBodyFluid">
73<H2>
74Class android.widget.<A HREF="../../../../reference/android/widget/ListView.html" target="_top"><font size="+2"><code>ListView</code></font></A>
75</H2>
76<a NAME="constructors"></a>
77<a NAME="methods"></a>
78<p>
79<a NAME="Removed"></a>
80<TABLE summary="Removed Methods" WIDTH="100%">
81<TR>
82 <TH VALIGN="TOP" COLSPAN=2>Removed Methods</FONT></TD>
83</TH>
84<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
85 <TD VALIGN="TOP" WIDTH="25%">
86 <A NAME="android.widget.ListView.setAdapter_removed(android.widget.ListAdapter)"></A>
87 <nobr><code>void</code>&nbsp;setAdapter(<code>ListAdapter</code>)</nobr>
88 </TD>
89 <TD>&nbsp;</TD>
90</TR>
91</TABLE>
92&nbsp;
93<p>
94<a NAME="Added"></a>
95<TABLE summary="Added Methods" WIDTH="100%">
96<TR>
97 <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
98</TH>
99<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
100 <TD VALIGN="TOP" WIDTH="25%">
101 <A NAME="android.widget.ListView.smoothScrollByOffset_added(int)"></A>
102 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/ListView.html#smoothScrollByOffset(int)" target="_top"><code>smoothScrollByOffset</code></A>(<code>int</code>)</nobr>
103 </TD>
104 <TD>&nbsp;</TD>
105</TR>
106</TABLE>
107&nbsp;
108<p>
109<a NAME="Changed"></a>
110<TABLE summary="Changed Methods" WIDTH="100%">
111<TR>
112 <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD>
113</TH>
114<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
115 <TD VALIGN="TOP" WIDTH="25%">
116 <A NAME="android.widget.ListView.clearChoices_changed()"></A>
117 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/AbsListView.html#clearChoices()" target="_top"><code>clearChoices</code></A>() </nobr>
118 </TD>
119 <TD VALIGN="TOP" WIDTH="30%">
120Method was locally defined, but is now inherited from <a href="../../../../reference/android/widget/AbsListView.html#clearChoices()" target="_top"><code>AbsListView</code></a>.
121 </TD>
122 <TD>&nbsp;</TD>
123</TR>
124<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
125 <TD VALIGN="TOP" WIDTH="25%">
126 <A NAME="android.widget.ListView.getCheckedItemIds_changed()"></A>
127 <nobr><code>long[]</code>&nbsp;<A HREF="../../../../reference/android/widget/AbsListView.html#getCheckedItemIds()" target="_top"><code>getCheckedItemIds</code></A>() </nobr>
128 </TD>
129 <TD VALIGN="TOP" WIDTH="30%">
130Method was locally defined, but is now inherited from <a href="../../../../reference/android/widget/AbsListView.html#getCheckedItemIds()" target="_top"><code>AbsListView</code></a>.
131 </TD>
132 <TD>&nbsp;</TD>
133</TR>
134<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
135 <TD VALIGN="TOP" WIDTH="25%">
136 <A NAME="android.widget.ListView.getCheckedItemPosition_changed()"></A>
137 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/widget/AbsListView.html#getCheckedItemPosition()" target="_top"><code>getCheckedItemPosition</code></A>() </nobr>
138 </TD>
139 <TD VALIGN="TOP" WIDTH="30%">
140Method was locally defined, but is now inherited from <a href="../../../../reference/android/widget/AbsListView.html#getCheckedItemPosition()" target="_top"><code>AbsListView</code></a>.
141 </TD>
142 <TD>&nbsp;</TD>
143</TR>
144<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
145 <TD VALIGN="TOP" WIDTH="25%">
146 <A NAME="android.widget.ListView.getCheckedItemPositions_changed()"></A>
147 <nobr><code>SparseBooleanArray</code>&nbsp;<A HREF="../../../../reference/android/widget/AbsListView.html#getCheckedItemPositions()" target="_top"><code>getCheckedItemPositions</code></A>() </nobr>
148 </TD>
149 <TD VALIGN="TOP" WIDTH="30%">
150Method was locally defined, but is now inherited from <a href="../../../../reference/android/widget/AbsListView.html#getCheckedItemPositions()" target="_top"><code>AbsListView</code></a>.
151 </TD>
152 <TD>&nbsp;</TD>
153</TR>
154<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
155 <TD VALIGN="TOP" WIDTH="25%">
156 <A NAME="android.widget.ListView.getChoiceMode_changed()"></A>
157 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/widget/AbsListView.html#getChoiceMode()" target="_top"><code>getChoiceMode</code></A>() </nobr>
158 </TD>
159 <TD VALIGN="TOP" WIDTH="30%">
160Method was locally defined, but is now inherited from <a href="../../../../reference/android/widget/AbsListView.html#getChoiceMode()" target="_top"><code>AbsListView</code></a>.
161 </TD>
162 <TD>&nbsp;</TD>
163</TR>
164<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
165 <TD VALIGN="TOP" WIDTH="25%">
166 <A NAME="android.widget.ListView.isItemChecked_changed(int)"></A>
167 <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/widget/AbsListView.html#isItemChecked(int)" target="_top"><code>isItemChecked</code></A>(<code>int</code>) </nobr>
168 </TD>
169 <TD VALIGN="TOP" WIDTH="30%">
170Method was locally defined, but is now inherited from <a href="../../../../reference/android/widget/AbsListView.html#isItemChecked(int)" target="_top"><code>AbsListView</code></a>.
171 </TD>
172 <TD>&nbsp;</TD>
173</TR>
174<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
175 <TD VALIGN="TOP" WIDTH="25%">
176 <A NAME="android.widget.ListView.setChoiceMode_changed(int)"></A>
177 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/AbsListView.html#setChoiceMode(int)" target="_top"><code>setChoiceMode</code></A>(<code>int</code>) </nobr>
178 </TD>
179 <TD VALIGN="TOP" WIDTH="30%">
180Method was locally defined, but is now inherited from <a href="../../../../reference/android/widget/AbsListView.html#setChoiceMode(int)" target="_top"><code>AbsListView</code></a>.
181 </TD>
182 <TD>&nbsp;</TD>
183</TR>
184<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
185 <TD VALIGN="TOP" WIDTH="25%">
186 <A NAME="android.widget.ListView.setItemChecked_changed(int, boolean)"></A>
187 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/AbsListView.html#setItemChecked(int, boolean)" target="_top"><code>setItemChecked</code></A>(<code>int,</nobr> boolean<nobr><nobr></code>) </nobr>
188 </TD>
189 <TD VALIGN="TOP" WIDTH="30%">
190Method was locally defined, but is now inherited from <a href="../../../../reference/android/widget/AbsListView.html#setItemChecked(int, boolean)" target="_top"><code>AbsListView</code></a>.
191 </TD>
192 <TD>&nbsp;</TD>
193</TR>
194</TABLE>
195&nbsp;
196<a NAME="fields"></a>
197<p>
198<a NAME="Changed"></a>
199<TABLE summary="Changed Fields" WIDTH="100%">
200<TR>
201 <TH VALIGN="TOP" COLSPAN=3>Changed Fields</FONT></TD>
202</TH>
203<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
204 <TD VALIGN="TOP" WIDTH="25%">
205 <A NAME="android.widget.ListView.CHOICE_MODE_MULTIPLE"></A>
206 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/widget/AbsListView.html#CHOICE_MODE_MULTIPLE" target="_top"><code>CHOICE_MODE_MULTIPLE</code></font></A></nobr> </TD>
207 <TD VALIGN="TOP" WIDTH="30%">
208Field was locally defined, but is now inherited from <a href="../../../../reference/android/widget/AbsListView.html#CHOICE_MODE_MULTIPLE" target="_top"><code>AbsListView</code></a>.
209 </TD>
210 <TD>&nbsp;</TD>
211</TR>
212<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
213 <TD VALIGN="TOP" WIDTH="25%">
214 <A NAME="android.widget.ListView.CHOICE_MODE_NONE"></A>
215 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/widget/AbsListView.html#CHOICE_MODE_NONE" target="_top"><code>CHOICE_MODE_NONE</code></font></A></nobr> </TD>
216 <TD VALIGN="TOP" WIDTH="30%">
217Field was locally defined, but is now inherited from <a href="../../../../reference/android/widget/AbsListView.html#CHOICE_MODE_NONE" target="_top"><code>AbsListView</code></a>.
218 </TD>
219 <TD>&nbsp;</TD>
220</TR>
221<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
222 <TD VALIGN="TOP" WIDTH="25%">
223 <A NAME="android.widget.ListView.CHOICE_MODE_SINGLE"></A>
224 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/widget/AbsListView.html#CHOICE_MODE_SINGLE" target="_top"><code>CHOICE_MODE_SINGLE</code></font></A></nobr> </TD>
225 <TD VALIGN="TOP" WIDTH="30%">
226Field was locally defined, but is now inherited from <a href="../../../../reference/android/widget/AbsListView.html#CHOICE_MODE_SINGLE" target="_top"><code>AbsListView</code></a>.
227 </TD>
228 <TD>&nbsp;</TD>
229</TR>
230</TABLE>
231&nbsp;
232 </div>
233 <div id="footer">
234 <div id="copyright">
235 Except as noted, this content is licensed under
236 <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
237 For details and restrictions, see the <a href="/license.html">Content License</a>.
238 </div>
239 <div id="footerlinks">
240 <p>
241 <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
242 <a href="http://www.android.com/privacy.html">Privacy Policy</a> -
243 <a href="http://www.android.com/branding.html">Brand Guidelines</a>
244 </p>
245 </div>
246 </div> <!-- end footer -->
247 </div><!-- end doc-content -->
248 </div> <!-- end body-content -->
Dirk Doughertyb4c6c1b2013-02-01 13:35:42 -0800249<script src="//www.google-analytics.com/ga.js" type="text/javascript">
Dirk Doughertyf343d3d2011-02-08 11:42:32 -0800250</script>
251<script type="text/javascript">
252 try {
253 var pageTracker = _gat._getTracker("UA-5831155-1");
254 pageTracker._setAllowAnchor(true);
255 pageTracker._initData();
256 pageTracker._trackPageview();
257 } catch(e) {}
258</script>
259</BODY>
260</HTML>