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 8019811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:30:18+00:00 2026-06-04T21:30:18+00:00

I created a list based on this example: http://jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/ In GetView method, need to

  • 0

I created a list based on this example:

http://jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/

In GetView method, need to access information that is stored only in the HashMap.
I can access using “adapter.getItem (position). ToString ()” but this way, keys and values ​​come together in a single string, like this:

{date=2011-07-25 19:30:00, id=1, caption=Test Caption, title=Test Title, bookmark=true}

You can retrieve this data separately? For example, only the value of “bookmark” field

Please include an example. I am new to developing for Android.

  • 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-04T21:30:20+00:00Added an answer on June 4, 2026 at 9:30 pm

    remember that you know the data type that is used with the adapter.

    instead of using toString, just get the item and use it as you usually do.

    for example:

    HashMap<String, String> i = (HashMap<String, String>) adapter.getItem(position);
    i.get(ITEM_TITLE);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created this fiddle that the div value changes based on your dropdown list
I need to create one list based on two other lists. But seems like
I am trying to use dynamically created list in WHERE, for example: select *
Based on the answers from this question , I have created a grid from
EDIT: looking for this: http://diminishing.org/extending-formtastic-with-a-sprinkle-of-jquery (If this works I'll answer my own question) I've
I have two lists based on the same class. I would like one list
I would like to create a java List based on another java Collection eg.
I've been trying to create a list definition based on the SharePoint Discussion Board
I'm trying to create a drop down list in an ASP.NET MVC3 view based
I'm building a system that will create a tournament based on a list of

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.