Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goToDate offset is wrong when working in "dayView" #119

Closed
adfleshner opened this issue Apr 24, 2015 · 14 comments
Closed

goToDate offset is wrong when working in "dayView" #119

adfleshner opened this issue Apr 24, 2015 · 14 comments

Comments

@adfleshner
Copy link

When setVisibledays is 1 the offset barely moves.
Currently I have a MonthView that I click on and it gives me a Calendar object that I pass to the next activity. Where the weekView is located(Currently set to 1 day showing set via xml "dayView" ). after that I call .goToDate function with that calendar value. If I go to today no offset works great. I Click on the next day on the monthview when i gets to the weekview it has only shifted over a little bit. if i click on 2 days it shifts a little more. When I click on 39 to 40 days in the future I finally get to tomorrow. ( its not 100% ) so i currently have a multiplier but if I go a month into the future it starts to go to far. I can send video if needed.

@entropitor
Copy link
Contributor

This should be fixed if a new version of the library is published to maven.

@adfleshner
Copy link
Author

I currently am using 1.2.1 is that the latest version?

@entropitor
Copy link
Contributor

It's the latest version published to maven. However, after that version code was committed that will fix this issue. @alamkanak still has to release this code to maven however.

@adfleshner
Copy link
Author

I got ya. I will keep my little "workaround" until it is released . I will continue to watch this for a build number increase. Thank you.

@adamchodera
Copy link

@caske33 That would be great, if you could release fixed version. Thanks.

@entropitor
Copy link
Contributor

@adamski8 Unfortunately, I don't have the authority to relase this to maven....

@adfleshner
Copy link
Author

@caske33 is there a place online currently I am able to download the code and use the fixed version until it is uploaded to maven?

@entropitor
Copy link
Contributor

You can clone this project as a git submodule (under directory weekview for example) for your project and then add the include :weekview:library to your settings.gradle and a compile project(':weekview:library') to your build.gradle (instead of the other weekview compile line)

@alamkanak
Copy link
Owner

@caske33 @adfleshner New version released

@adfleshner
Copy link
Author

@alamkanak Thank you!

@Nidhee
Copy link

Nidhee commented Feb 4, 2016

@adfleshner As you said in your issue, You are using MonthView. Is MonthView of this calendar view developed ? Or did you update library ? I want to am looking for MonthView with WeekView and DayView. Please guide, how get MonthView
.

@entropitor
Copy link
Contributor

Month view doesn't exist yet: #2
(although you can have a 31-day view).

@Nidhee
Copy link

Nidhee commented Feb 4, 2016

@caske33 Can you guide how can I have 31-day view.

@entropitor
Copy link
Contributor

set the number of days to 31 :) (see readme as well)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants