✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Android
    • Google Play Services
    • Interacting with Your API
    • Close
  • Stewart Mandla Kohlisa
    Stewart Mandla Kohlisa
    11,737 Points

    Retrofit Interfaces

    Posted on Nov 2, 2020 by Stewart Mandla Kohlisa
    Stewart Mandla Kohlisa
    11,737 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Write a Retrofit interface

    0 Answers

  • Farai Ted Mandoreba
    Farai Ted Mandoreba
    21,518 Points

    Challenge Task 3 of 4 Annotate the activeListings method so that it does a GET request on the "/listings/active" path.

    Posted on Mar 26, 2019 by Farai Ted Mandoreba
    Farai Ted Mandoreba
    21,518 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Write a Retrofit interface

    3 Answers

  • Tafadzwa Nyazorwe
    Tafadzwa Nyazorwe
    17,053 Points

    Annotate the activeListings method so that it does a GET request on the "/listings/active" path.

    Posted on Mar 7, 2019 by Tafadzwa Nyazorwe
    Tafadzwa Nyazorwe
    17,053 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Write a Retrofit interface

    0 Answers

  • Binyamin Friedman
    Binyamin Friedman
    14,615 Points

    Is it ok to use public fields in a class?

    Posted on Oct 8, 2017 by Binyamin Friedman
    Binyamin Friedman
    14,615 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Writing Your Adapter Class

    2 Answers

  • Sena Sari
    Sena Sari
    5,732 Points

    Where am I wrong, can someone please help?

    Posted on Jul 29, 2017 by Sena Sari
    Sena Sari
    5,732 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Write a Retrofit interface

    0 Answers

  • Jun Kakeno
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jun Kakeno
    iOS Development with Swift Techdegree Graduate 24,842 Points

    Why do we pass the adapter to Etzy.getActiveListings()?

    Posted on Jul 26, 2017 by Jun Kakeno
    .a{fill-rule:evenodd;}techdegree seal-36
    Jun Kakeno
    iOS Development with Swift Techdegree Graduate 24,842 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Display Loading and Error States

    1 Answer

  • Rosario Alessandro Cali
    Rosario Alessandro Cali
    5,371 Points

    Does anyone else get a null pointer exception on the Shop?

    Posted on Jun 17, 2017 by Rosario Alessandro Cali
    Rosario Alessandro Cali
    5,371 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Display Loading and Error States

    1 Answer

  • Tinashe Mutematsaka
    Tinashe Mutematsaka
    9,087 Points

    Within your interface, define an activeListings method with a void return type. activeListings should take two parameter

    Posted on Apr 11, 2017 by Tinashe Mutematsaka
    Tinashe Mutematsaka
    9,087 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Write a Retrofit interface

    0 Answers

  • Tinashe Mutematsaka
    Tinashe Mutematsaka
    9,087 Points

    Set the text of the holder.shop TextView object to the value of listing.Shop.shop_name.

    Posted on Apr 11, 2017 by Tinashe Mutematsaka
    Tinashe Mutematsaka
    9,087 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Defining onBindViewHolder()

    1 Answer

  • fusiongirl
    fusiongirl
    11,645 Points

    Update retrofit version?

    Posted on Mar 10, 2017 by fusiongirl
    fusiongirl
    11,645 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Interacting with Retrofit

    0 Answers

  • The Magician
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    The Magician
    Android Development Techdegree Student 195 Points

    Define an activeListings method with a void return type.

    Posted on Dec 18, 2016 by The Magician
    .a{fill-rule:evenodd;}techdegree
    The Magician
    Android Development Techdegree Student 195 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Write a Retrofit interface

    3 Answers

  • George Sideris
    PLUS
    George Sideris
    Courses Plus Student 3,712 Points

    compile 'com.squareup.retrofit2:retrofit:2.1.0'

    Posted on Nov 13, 2016 by George Sideris
    George Sideris
    Courses Plus Student 3,712 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Interacting with Retrofit

    3 Answers

  • Jose Mena
    PLUS
    Jose Mena
    Courses Plus Student 18,978 Points

    How does the Api interface work?

    Posted on Oct 17, 2016 by Jose Mena
    Jose Mena
    Courses Plus Student 18,978 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Interacting with Retrofit

    1 Answer

  • Jose Mena
    PLUS
    Jose Mena
    Courses Plus Student 18,978 Points

    Empty Interface in Java?

    Posted on Oct 17, 2016 by Jose Mena
    Jose Mena
    Courses Plus Student 18,978 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Write a Retrofit interface

    1 Answer

  • ian de Jesus
    ian de Jesus
    3,401 Points

    Can we update this tutorial using Retrofit 2.0 instead?

    Posted on Jun 29, 2016 by ian de Jesus
    ian de Jesus
    3,401 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Add Third Party Libraries

    1 Answer

  • Adnan Nazir
    PLUS
    Adnan Nazir
    Courses Plus Student 607 Points

    "type 'javax.security.auth.callback.Callback' does not have type parameters

    Posted on Mar 12, 2016 by Adnan Nazir
    Adnan Nazir
    Courses Plus Student 607 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Writing Your UI Code with RecyclerView

    1 Answer

  • Julio Cesar Canares Garcia
    Julio Cesar Canares Garcia
    1,724 Points

    Question Test

    Posted on Mar 5, 2016 by Julio Cesar Canares Garcia
    Julio Cesar Canares Garcia
    1,724 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Add Third Party Libraries

    0 Answers

  • Kourosh Raeen
    Kourosh Raeen
    23,733 Points

    Redundant call to showList() method in MainActivity.java

    Posted on Jan 11, 2016 by Kourosh Raeen
    Kourosh Raeen
    23,733 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Display Loading and Error States

    0 Answers

  • Diwesh Saxena
    Diwesh Saxena
    15,512 Points

    My screen is completely blank and no noticeable error in logs

    Posted on Nov 20, 2015 by Diwesh Saxena
    Diwesh Saxena
    15,512 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Display Loading and Error States

    19 Answers

  • MUZ140984 Tatenda Mangoro
    MUZ140984 Tatenda Mangoro
    5,631 Points

    price holder text

    Posted on Nov 6, 2015 by MUZ140984 Tatenda Mangoro
    MUZ140984 Tatenda Mangoro
    5,631 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Defining onBindViewHolder()

    2 Answers

  • MUZ140984 Tatenda Mangoro
    MUZ140984 Tatenda Mangoro
    5,631 Points

    Within your interface, define an active Listings method with a void return type. activeListings should take two paramet

    Posted on Oct 8, 2015 by MUZ140984 Tatenda Mangoro
    MUZ140984 Tatenda Mangoro
    5,631 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Write a Retrofit interface

    3 Answers

  • Elias Caceres
    Elias Caceres
    8,454 Points

    What is the current update equivalent of RequestInterceptor?

    Posted on Oct 7, 2015 by Elias Caceres
    Elias Caceres
    8,454 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Interacting with Retrofit

    1 Answer

  • Josh Gold
    Josh Gold
    12,207 Points

    The pace of instruction in this project is too fast.

    Posted on Sep 11, 2015 by Josh Gold
    Josh Gold
    12,207 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Display Loading and Error States

    5 Answers

  • Josh Gold
    Josh Gold
    12,207 Points

    We need to set up an API client (Google Play Services) Task 1 of 4

    Posted on Sep 10, 2015 by Josh Gold
    Josh Gold
    12,207 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Write a Retrofit interface

    1 Answer

  • aimensasi
    aimensasi
    11,343 Points

    I receive a failure call?

    Posted on Jul 28, 2015 by aimensasi
    aimensasi
    11,343 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Display Loading and Error States

    2 Answers

  • Rahul Vijeeth Vijayakumar
    Rahul Vijeeth Vijayakumar
    3,330 Points

    what is the symbol missing in listingHolder.titleView?

    Posted on Jul 15, 2015 by Rahul Vijeeth Vijayakumar
    Rahul Vijeeth Vijayakumar
    3,330 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Defining onBindViewHolder()

    2 Answers

  • Rahul Vijeeth Vijayakumar
    Rahul Vijeeth Vijayakumar
    3,330 Points

    Write a Retrofit Interface

    Posted on Jul 15, 2015 by Rahul Vijeeth Vijayakumar
    Rahul Vijeeth Vijayakumar
    3,330 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Write a Retrofit interface

    1 Answer

  • David Axelrod
    David Axelrod
    36,073 Points

    What is an outstate bundle?

    Posted on Jul 14, 2015 by David Axelrod
    David Axelrod
    36,073 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Display Loading and Error States

    1 Answer

  • Charles Harpke
    Charles Harpke
    33,986 Points

    Assume this code has an instance variable named listings that is an ActiveListings object. It holds an array of Listing

    Posted on May 31, 2015 by Charles Harpke
    Charles Harpke
    33,986 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Defining onBindViewHolder()

    1 Answer

  • Louis Sankey
    Louis Sankey
    22,595 Points

    Error "type 'javax.security.auth.callback.Callback' does not have type parameters

    Posted on May 26, 2015 by Louis Sankey
    Louis Sankey
    22,595 Points
    • Android
    • Google Play Services
    • Interacting with Your API
    • Interacting with Retrofit

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.