Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9190777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:32:22+00:00 2026-06-17T20:32:22+00:00

I just started Android development so this may be a quite easy question. What

  • 0

I just started Android development so this may be a quite easy question.

What I write at the moment is a quiz app. So I wrote the class Frage and now I want to display the question and three answers in an activity. Each question has an id so when I press a button I want to show the next question.

I think I need one TextView and three buttons for the answers.
But how can I display the values of my object in view??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:32:23+00:00Added an answer on June 17, 2026 at 8:32 pm

    You can use the method setText(CharSequence) to display your item. Since Button inherits from TextView the methods work the same way in both cases.

    Usage would look something like this:

    myButton.setText(myObject.answerOne);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started looking at android app development. For my first test app i
I just started learning android.Hope this isn't silly question.Here it is My FragmentAdapter has
I just started development for Android, and I am stuck with this code: public
I'm just getting started with Android app development on a Mac, and I keep
I just started doing some Android app development, and I decided I'm going to
I just started with PhoneGap development and have my first sample android app running
I just started experimenting with Android app development and so I decided to give
I'm quite new to android development, and just know started to learn how to
Just getting started with Android development and I can't figure out why this won't
Just started to test android app development using Visual Studio 2012 & Mono droid.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.