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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:04:12+00:00 2026-06-01T16:04:12+00:00

I am using GridView in my Android application. As you can see, I am

  • 0

I am using GridView in my Android application. This is what it looks like in eclipse

As you can see, I am using it for a ‘mini’ calendar.

This is my code to ‘update the calendar’ and put the information into the grid.

items.add(name + "\n" + time + "\n" + amount);  
ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, items);
gridview.setAdapter(adapter);

However, is there a way I can specify to the GridView where I want to put this item? Is there a method to do this? For example, if the tab that is highlighted is Sunday and a new medication is added, I want it to go under Sunday always.

As of now, it travels to the right (so, when I keep adding in medications, it goes under Sunday first, then Monday, then Tuesday, etc.)

Thanks for all of your help!

  • 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-01T16:04:13+00:00Added an answer on June 1, 2026 at 4:04 pm

    It looks like you’ve come a long way with your GridView so far, but I figured I should point out that there are other options.

    1. For >= API 11+, check out CalenderView (from the Android public SDK).

    2. For < API 11, there are a few open source libraries you could use. I’ve heard good things about Android-Calender-View and CalenderView (both third-party libraries).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi i am developing android application. Now at this stage i am developing calendar
I am using GridView in my application for populating datas. Is there any easy
I am using a gridview to select, delete and update data in database. I
I'm trying get values from a GridView using the following code: foreach (GridViewRow row
I'm currently working on an Android application. I wish to have a GridView on
I'm using a GridView in my Android app. Everything works perfectly on my phone,
I am trying to populate a gridview using LayoutInflator.. According to me the code
For an Android App, I'm using a GridView and extending BaseAdapter to organize its
I am developing a simple application for Android in which I am using a
i am developing one simple application for android mobile here i am using two

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.