1/**
2 * Copyright (C) 2015 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5 * in compliance with the License. You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software distributed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11 * or implied. See the License for the specific language governing permissions and limitations under
12 * the License.
13 */
14
15/**
16 * <p>Support classes providing high level Leanback user interface building blocks:
17 * fragments and helpers.</p>
18 * <p>
19 * Leanback fragments are available both as platform fragments (subclassed from
20 * {@link android.app.Fragment android.app.Fragment}) and as support fragments (subclassed from
21 * {@link android.support.v4.app.Fragment android.support.v4.app.Fragment}).  A few of the most
22 * commonly used leanback fragments are described here.
23 * </p>
24 * <p>
25 * A {@link android.support.v17.leanback.app.BrowseFragment} includes an optional “fastlane”
26 * navigation side panel and a list of rows, with one-to-one correspondance between each header
27 * in the fastlane and a row.  The application supplies the
28 * {@link android.support.v17.leanback.widget.ObjectAdapter} containing the list of
29 * rows and a {@link android.support.v17.leanback.widget.PresenterSelector} of row presenters.
30 * </p>
31 * <p>
32 * A {@link android.support.v17.leanback.app.DetailsFragment} will typically consist of a large
33 * overview of an item at the top,
34 * some actions that a user can perform, and possibly rows of additional or related items.
35 * The content for this fragment is specified in the same way as for the BrowseFragment, with the
36 * convention that the first element in the ObjectAdapter corresponds to the overview row.
37 * The {@link android.support.v17.leanback.widget.DetailsOverviewRow} and
38 * {@link android.support.v17.leanback.widget.DetailsOverviewRowPresenter} provide a default template
39 * for this row.
40 * </p>
41 * <p>
42 * A {@link android.support.v17.leanback.app.PlaybackOverlayFragment} implements standard playback
43 * transport controls with a Leanback
44 * look and feel.  It is recommended to use an instance of the
45 * {@link android.support.v17.leanback.app.PlaybackControlGlue} with the
46 * PlaybackOverlayFragment.  This helper implements a standard behavior for user interaction with
47 * the most commonly used controls such as fast forward and rewind.
48 * </p>
49 * <p>
50 * A {@link android.support.v17.leanback.app.SearchFragment} allows the developer to accept a query
51 * from a user and display the results
52 * using the familiar list rows.
53 * </p>
54 * <p>
55 * A {@link android.support.v17.leanback.app.GuidedStepFragment} is used to guide the user through a
56 * decision or series of decisions.
57 * </p>
58 **/
59
60package android.support.v17.leanback.app;
61