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

  • Home
  • SEARCH
  • 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 8156841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:04:53+00:00 2026-06-06T17:04:53+00:00

Hello i am new in android and i am developing one application in which

  • 0

Hello i am new in android and i am developing one application in which data are display in listview. Listview contains one textview and spinner. But for specific condition for example if there is one Qualification field which have one or more choice which user want to select. So at that specific condition i must give multiple checkboxes. Data are pass through webservices. I am store that data in POJO. And i already develop for textview and spinner with use of inflater. But i am facing problem for that checkbox control. How i put dynamically checkboxes when perticular condition occure. Problem

Edit I am create two separate XML files for that. I use following code for that check box XML file.

public View getView(final int position, View convertView, ViewGroup parent) {
    for (int k = 0; k < values.length; k++) {   
        convertView = inflater.inflate(R.layout.filter_brands, null);  
    }
}

But XML file is call only ones. while the values contains 7.

  • 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-06T17:04:55+00:00Added an answer on June 6, 2026 at 5:04 pm

    I would suggest that you follow the idea posted in the comments on Mike’s answer.

    But if you really want to create something programatically it can be done in this way.

    CheckBox check1 = new CheckBox(YourClassName.this);
    CheckBox check2 = new CheckBox(YourClassName.this);
    
    ...
     LinearLayout ll = new LinearLayout(this);
     ll.setOrientation(1);
    
            ll.addView(check1,0);
            ll.addView(check2,1);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello i am new in developing Android applications, I need to create an application
I am new to android. I got one issue during run my first hello
I am new to phonegap and android, I have create a hello world application
Hello i m new to android and working on Radio application i gt stuck
Hello dear programmers, I am very new to android application development and for practice
Hello Everyone I am new being in ANDROID so I am getting one problem
Hi I am developing an android application in which a form has to be
I am very new to Android application development. Just started Hello world android application
Heloo everyone im new to android development and im developing an android application for
Hello I am new to android. I want to calculate amount in my application.

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.