1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119<!DOCTYPE html>
120<html devsite>
121<head>
122
123
124    <meta name="top_category" value="develop" />
125
126    <meta name="subcategory" value="reference" />
127
128
129      <meta name="book_path" value="/reference/android/support/wearable/_book.yaml" />
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145<title>ActionChooserView.ActionChooserListener</title>
146
147
148</head>
149
150<body class="gc-documentation develop reference api apilevel-">
151<div id="doc-api-level" class="" style="display:none"></div>
152
153
154
155
156<div id="naMessage"></div>
157
158<div id="api-info-block">
159<div class="api-level">
160
161
162
163
164</div>
165
166
167
168
169<div class="sum-details-links">
170
171</div><!-- end sum-details-links -->
172</div><!-- end api-info-block -->
173
174<div class="api apilevel-" id="jd-content">
175
176<!-- ======== START OF CLASS DATA ======== -->
177
178<h1 class="api-title">ActionChooserView.ActionChooserListener</h1>
179<p>
180<code class="api-signature">
181  public
182  static
183
184
185  interface
186  ActionChooserView.ActionChooserListener
187</code>
188<br>
189
190
191<code class="api-signature">
192
193
194
195</code>
196
197</p><table class="jd-inheritance-table">
198
199
200  <tr>
201
202    <td colspan="1" class="jd-inheritance-class-cell">android.support.wearable.view.ActionChooserView.ActionChooserListener
203    </td>
204  </tr>
205
206
207</table>
208
209
210
211
212<br><hr>
213
214
215  <p>Interface for receiving callbacks about options chosen from an <code><a href="/reference/android/support/wearable/view/ActionChooserView.html">ActionChooserView</a></code>.
216</p>
217
218
219
220
221
222
223
224<h2 class="api-section">Summary</h2>
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252<!-- ========== METHOD SUMMARY =========== -->
253<table id="pubmethods" class="responsive methods">
254<tr><th colspan="2"><h3>Public methods</h3></th></tr>
255
256
257
258
259  <tr class="api apilevel-" >
260
261
262    <td><code>
263        abstract
264
265
266
267
268        void</code>
269    </td>
270
271    <td width="100%">
272      <code>
273      <a href="/reference/android/support/wearable/view/ActionChooserView.ActionChooserListener.html#onOptionChosen(int)">onOptionChosen</a>(int option)
274      </code>
275
276        <p>Called when an option has been chosen.
277
278
279</p>
280
281    </td>
282  </tr>
283
284
285
286  <tr class="api apilevel-" >
287
288
289    <td><code>
290        abstract
291
292
293
294
295        void</code>
296    </td>
297
298    <td width="100%">
299      <code>
300      <a href="/reference/android/support/wearable/view/ActionChooserView.ActionChooserListener.html#onOptionProgress(float)">onOptionProgress</a>(float percent)
301      </code>
302
303        <p>Called to update the percentage an item has been selected
304
305
306</p>
307
308    </td>
309  </tr>
310
311
312
313</table>
314
315
316
317
318
319
320
321
322<!-- XML Attributes -->
323
324
325<!-- Enum Values -->
326
327
328<!-- Constants -->
329
330
331<!-- Fields -->
332
333
334<!-- Public ctors -->
335
336
337
338<!-- ========= CONSTRUCTOR DETAIL ======== -->
339<!-- Protected ctors -->
340
341
342
343<!-- ========= METHOD DETAIL ======== -->
344<!-- Public methdos -->
345
346<h2 class="api-section">Public methods</h2>
347
348
349
350<A NAME="onOptionChosen(int)"></A>
351
352<div class="api apilevel-">
353    <h3 class="api-name">onOptionChosen</h3>
354    <div class="api-level">
355      <div></div>
356
357
358
359    </div>
360<pre class="api-signature no-pretty-print">
361void onOptionChosen (int option)</pre>
362
363
364
365
366  <p>Called when an option has been chosen.</p>
367    <table class="responsive">
368    <tr><th colspan=2>Parameters</th></tr>
369      <tr>
370        <td><code>option</code></td>
371        <td width="100%">
372          <code>int</code>:
373          the option chosen. see <code><a href="/reference/android/support/wearable/view/ActionChooserView.html#OPTION_START">OPTION_START</a></code> and <code><a href="/reference/android/support/wearable/view/ActionChooserView.html#OPTION_END">OPTION_END</a></code>.
374</td>
375      </tr>
376    </table>
377
378</div>
379
380
381<A NAME="onOptionProgress(float)"></A>
382
383<div class="api apilevel-">
384    <h3 class="api-name">onOptionProgress</h3>
385    <div class="api-level">
386      <div></div>
387
388
389
390    </div>
391<pre class="api-signature no-pretty-print">
392void onOptionProgress (float percent)</pre>
393
394
395
396
397  <p>Called to update the percentage an item has been selected</p>
398    <table class="responsive">
399    <tr><th colspan=2>Parameters</th></tr>
400      <tr>
401        <td><code>percent</code></td>
402        <td width="100%">
403          <code>float</code>:
404          the progress of an item being selected, ranging from 0 to 1.
405</td>
406      </tr>
407    </table>
408
409</div>
410
411
412
413
414
415<!-- ========= METHOD DETAIL ======== -->
416
417
418
419<!-- ========= END OF CLASS DATA ========= -->
420
421</div><!-- end jd-content -->
422
423
424
425<div class="data-reference-resources-wrapper">
426
427  <ul data-reference-resources>
428
429
430    <li><h2>Interfaces</h2>
431      <ul>
432          <li class="selected api apilevel-"><a href="/reference/android/support/wearable/view/ActionChooserView.ActionChooserListener.html">ActionChooserView.ActionChooserListener</a></li>
433          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DelayedConfirmationView.DelayedConfirmationListener.html">DelayedConfirmationView.DelayedConfirmationListener</a></li>
434          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPageOptions.html">GridPageOptions</a></li>
435          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPageOptions.BackgroundListener.html">GridPageOptions.BackgroundListener</a></li>
436          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.OnAdapterChangeListener.html">GridViewPager.OnAdapterChangeListener</a></li>
437          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html">GridViewPager.OnPageChangeListener</a></li>
438          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html">WatchViewStub.OnLayoutInflatedListener</a></li>
439          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.ClickListener.html">WearableListView.ClickListener</a></li>
440          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html">WearableListView.OnCenterProximityListener</a></li>
441          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnCentralPositionChangedListener.html">WearableListView.OnCentralPositionChangedListener</a></li>
442          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnScrollListener.html">WearableListView.OnScrollListener</a></li>
443      </ul>
444    </li>
445
446    <li><h2>Classes</h2>
447      <ul>
448          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionChooserView.html">ActionChooserView</a></li>
449          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionLabel.html">ActionLabel</a></li>
450          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionPage.html">ActionPage</a></li>
451          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/BoxInsetLayout.html">BoxInsetLayout</a></li>
452          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html">BoxInsetLayout.LayoutParams</a></li>
453          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CardFragment.html">CardFragment</a></li>
454          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CardFrame.html">CardFrame</a></li>
455          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CardScrollView.html">CardScrollView</a></li>
456          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CircledImageView.html">CircledImageView</a></li>
457          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CircularButton.html">CircularButton</a></li>
458          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CrossfadeDrawable.html">CrossfadeDrawable</a></li>
459          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DelayedConfirmationView.html">DelayedConfirmationView</a></li>
460          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DismissOverlayView.html">DismissOverlayView</a></li>
461          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DotsPageIndicator.html">DotsPageIndicator</a></li>
462          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/FragmentGridPagerAdapter.html">FragmentGridPagerAdapter</a></li>
463          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPagerAdapter.html">GridPagerAdapter</a></li>
464          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.html">GridViewPager</a></li>
465          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.LayoutParams.html">GridViewPager.LayoutParams</a></li>
466          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ProgressSpinner.html">ProgressSpinner</a></li>
467          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/SimpleAnimatorListener.html">SimpleAnimatorListener</a></li>
468          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WatchViewStub.html">WatchViewStub</a></li>
469          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableFrameLayout.html">WearableFrameLayout</a></li>
470          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html">WearableFrameLayout.LayoutParams</a></li>
471          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.html">WearableListView</a></li>
472          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.Adapter.html">WearableListView.Adapter</a></li>
473          <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.ViewHolder.html">WearableListView.ViewHolder</a></li>
474      </ul>
475    </li>
476
477
478
479  </ul>
480
481</div>
482
483
484
485</body>
486</html>
487