Back to project page Planets-Gradle.
The source code is released under:
Apache License
If you think the Android project Planets-Gradle listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.andrewq.planets.tv; /* ww w .jav a2 s . c om*/ import android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter; public class DetailsDescriptionPresenter extends AbstractDetailsDescriptionPresenter { @Override protected void onBindDescription(ViewHolder viewHolder, Object item) { Planet planet = (Planet) item; if (planet != null) { viewHolder.getTitle().setText(planet.getTitle()); viewHolder.getSubtitle().setText(planet.getStudio()); viewHolder.getBody().setText(planet.getDescription()); } } }