congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
DetailsOverviewRow.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
android.support.v17.leanback.widget.DetailsOverviewRow
constructor

Best Java code snippets using android.support.v17.leanback.widget.DetailsOverviewRow.<init> (Showing top 5 results out of 315)

origin: JackyAndroid/AndroidTVLauncher

mRowsAdapter = new ArrayObjectAdapter(selector);
final DetailsOverviewRow detailsOverview = new DetailsOverviewRow(mMediaModel);
origin: sregg/spotify-tv

private void createDetailsRow() {
  actionsAdapter = new ArrayObjectAdapter();
  populateActionsAdapter();
  mDetailsRow = new DetailsOverviewRow(new Object());
  mDetailsRow.setActionsAdapter(actionsAdapter);
  mRowsAdapter.add(0, mDetailsRow);
}
origin: Tamicer/TvFrameWork

private void setupDetailsOverviewRow() {
  Log.d(TAG, "doInBackground: " + mSelectedMovie.toString());
  final DetailsOverviewRow row = new DetailsOverviewRow(mSelectedMovie);
  row.setImageDrawable(getResources().getDrawable(R.drawable.default_background));
  int width = Utils.convertDpToPixel(getActivity()
      .getApplicationContext(), DETAIL_THUMB_WIDTH);
  int height = Utils.convertDpToPixel(getActivity()
      .getApplicationContext(), DETAIL_THUMB_HEIGHT);
  Glide.with(getActivity())
      .load(mSelectedMovie.getCardImageUrl())
      .centerCrop()
      .error(R.drawable.default_background)
      .into(new SimpleTarget<GlideDrawable>(width, height) {
        @Override
        public void onResourceReady(GlideDrawable resource,
                      GlideAnimation<? super GlideDrawable>
                          glideAnimation) {
          Log.d(TAG, "details overview card image url ready: " + resource);
          row.setImageDrawable(resource);
          mAdapter.notifyArrayItemRangeChanged(0, mAdapter.size());
        }
      });
  row.addAction(new Action(ACTION_WATCH_TRAILER, getResources().getString(
      R.string.watch_trailer_1), getResources().getString(R.string.watch_trailer_2)));
  row.addAction(new Action(ACTION_RENT, getResources().getString(R.string.rent_1),
      getResources().getString(R.string.rent_2)));
  row.addAction(new Action(ACTION_BUY, getResources().getString(R.string.buy_1),
      getResources().getString(R.string.buy_2)));
  mAdapter.add(row);
}
origin: googlesamples/androidtv-sample-inputs

dorPresenter.setSharedElementEnterTransition(getActivity(), "RichAppLinkDetailsFragment");
DetailsOverviewRow row = new DetailsOverviewRow(displayNumber);
Resources res = getResources();
Bitmap bitmap = BitmapFactory.decodeResource(res, R.drawable.your_company);
origin: googlesamples/leanback-assistant

private void setupDetailsOverviewRow() {
  final DetailsOverviewRow row = new DetailsOverviewRow(mMovie);
android.support.v17.leanback.widgetDetailsOverviewRow<init>

Popular methods of DetailsOverviewRow

  • setImageBitmap
  • setActionsAdapter
  • addAction
  • getImageDrawable
  • setImageDrawable
  • setItem

Popular in Java

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • JCheckBox (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now