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

A lot of changes: Kotlin, time/date formatting fixes, demo activity for whole view snapping... #97

Open
wants to merge 48 commits into
base: develop
Choose a base branch
from

Commits on May 7, 2018

  1. -updated sdks

    -added ability to scroll whole view (entire week, for example) like a ViewPager.
    -made default first day of week to be the one of the calendar.
    AndroidDeveloperLB committed May 7, 2018
    Configuration menu
    Copy the full SHA
    472162d View commit details
    Browse the repository at this point in the history
  2. -converted project to Kotlin. Code can be shortened a lot, but requir…

    …es some delicate work.
    
    -fixed some time/date formatting related issues:
    alamkanak#497
    alamkanak#495 (but not fixed RTL alignment issue)
    -created a new activity to demonstrate the paging of entire view (example: week by week snapping), based on this pull request:
    Quivr#88
    AndroidDeveloperLB committed May 7, 2018
    Configuration menu
    Copy the full SHA
    2b59062 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2018

  1. -added fix for day&month formatting, to be according to current locale:

    Quivr#98
    -added a feature to put text next to the week days
    -added a feature to set only the week days to have a background, instead of week-days and all-day events.
    -replaced Java "List" class with "MutableList" instead of Kotlin "List", to avoid possible crashes at runtime (because Kotlin "List" cannot be modified and is more restricted). That being said, I think in most cases, it's ok to use Kotlin "List", because in many cases you don't really need to modify the lists.
    -some code cleaning and refactoring, including conversion of some fields to be Kotlin properties (setters and getters near the field itself)
    AndroidDeveloperLB committed May 8, 2018
    Configuration menu
    Copy the full SHA
    9865f5e View commit details
    Browse the repository at this point in the history
  2. Fixed possible null issues with providing null as list of events.

    replaced findViewById with synthetic ones of Kotlin.
    AndroidDeveloperLB committed May 8, 2018
    Configuration menu
    Copy the full SHA
    1406c08 View commit details
    Browse the repository at this point in the history
  3. Cleaned code a bit.

    Removed old fonts, using Lato font, which is more modern and used on Android's latest versions.
    fixed issues of fonts, which didn't apply to all texts.
    getting fonts by using the support library.
    AndroidDeveloperLB committed May 8, 2018
    Configuration menu
    Copy the full SHA
    1f9e199 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c37823c View commit details
    Browse the repository at this point in the history

Commits on May 9, 2018

  1. further consideration of current locale to use the best format for th…

    …e dates being shown in the headers.
    AndroidDeveloperLB committed May 9, 2018
    Configuration menu
    Copy the full SHA
    3438aad View commit details
    Browse the repository at this point in the history
  2. handled auto-refreshing of the view every minute, to reflect changes …

    …of current time&date. You can test it by setting the time of the day to be 23:59, and wait a minute...
    
    cleaned code a bit.
    AndroidDeveloperLB committed May 9, 2018
    Configuration menu
    Copy the full SHA
    9523d1b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    291461b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8873a5d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b1a88c0 View commit details
    Browse the repository at this point in the history
  6. minor tweaks to sample of the WholeViewSnappingActivity.

    added a way to draw the line seperators horizontally&vertically in a way that makes them as in "checkers" (rectangles), by using isUsingCheckersStyle.
    This is demonstrated in WholeViewSnappingActivity.
    AndroidDeveloperLB committed May 9, 2018
    Configuration menu
    Copy the full SHA
    e58f6f5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    078b791 View commit details
    Browse the repository at this point in the history
  8. Fix scroll snapping

    Ludovic committed May 9, 2018
    Configuration menu
    Copy the full SHA
    99c423a View commit details
    Browse the repository at this point in the history

Commits on May 10, 2018

  1. Merge pull request #1 from SkyleKayma/ScrollFix

    Fix scroll snapping
    AndroidDeveloperLB authored May 10, 2018
    Configuration menu
    Copy the full SHA
    0be2f1d View commit details
    Browse the repository at this point in the history
  2. -a lot of conversions (and fixes) from fields to properties.

    -renamed and fixed some fields that are related to padding/margins, to make it clear what they are intended for.
    AndroidDeveloperLB committed May 10, 2018
    Configuration menu
    Copy the full SHA
    0228dad View commit details
    Browse the repository at this point in the history
  3. -a lot of conversions (and fixes) from fields to properties.

    -renamed and fixed some fields that are related to padding/margins, to make it clear what they are intended for.
    AndroidDeveloperLB committed May 10, 2018
    Configuration menu
    Copy the full SHA
    79d8e04 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1bc68ab View commit details
    Browse the repository at this point in the history
  5. sample bug fix (reported here: Quivr#92 )

    fixed issue of inconsistency of short vs long text.
    Now will show short text whenever you switch to week view.
    AndroidDeveloperLB committed May 10, 2018
    Configuration menu
    Copy the full SHA
    f2a4226 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2018

  1. Refactored some attributes to make it easier to understand what they …

    …mean.
    
    added ability to set subtitle text below the week-day title text.
    Demonstrated in WholeViewSnappingActivity.
    replaced deprecated clipRect function with the more recommended one, as written here: https://stackoverflow.com/q/50231950/878126
    AndroidDeveloperLB committed May 13, 2018
    Configuration menu
    Copy the full SHA
    10a7614 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2018

  1. Configuration menu
    Copy the full SHA
    4241b17 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2018

  1. -removed dropping from WholeViewSnappingActivity. It makes scrolling …

    …too slow.
    
    -from now on, dropping is automatically enabled by having its listener. If set to null (or not set at all), it's turned off.
    AndroidDeveloperLB committed May 15, 2018
    Configuration menu
    Copy the full SHA
    ae17dee View commit details
    Browse the repository at this point in the history
  2. -added a way to put text on the left of the all-day events.

    -Minor bugs fixes
    -Minor optimizations to make drawing and scrolling smoother
    AndroidDeveloperLB committed May 15, 2018
    Configuration menu
    Copy the full SHA
    7cb7cd8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    edd87c1 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2018

  1. Configuration menu
    Copy the full SHA
    50585ff View commit details
    Browse the repository at this point in the history

Commits on May 17, 2018

  1. - fixed issue of not being able to add an all-day event with same sta…

    …rt-time and end-time, because if the end time is the same, it should still be considered ok.
    
    - removed deprecated long id, because it's too common for calendar services to use String instead
    AndroidDeveloperLB committed May 17, 2018
    Configuration menu
    Copy the full SHA
    ef94b8d View commit details
    Browse the repository at this point in the history

Commits on May 27, 2018

  1. Configuration menu
    Copy the full SHA
    8ebc646 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2018

  1. fixed possible OOM when setting a time of 0:00 to events, due to spli…

    …tting them into multiple events
    AndroidDeveloperLB committed May 28, 2018
    Configuration menu
    Copy the full SHA
    9d6f070 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2018

  1. fixed various issues with all-day events.

    added CTOR for all-day event that takes a single day.
    AndroidDeveloperLB committed May 29, 2018
    Configuration menu
    Copy the full SHA
    0be8d77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d021bc1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c8ca57 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eacd593 View commit details
    Browse the repository at this point in the history
  5. added feature to set a default title for events that don't have a tit…

    …le, using `untitledEventText`
    AndroidDeveloperLB committed May 29, 2018
    Configuration menu
    Copy the full SHA
    610bd21 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2018

  1. Configuration menu
    Copy the full SHA
    068fdfb View commit details
    Browse the repository at this point in the history

Commits on May 31, 2018

  1. split the padding of the header into top+bottom

    added getters to some of the inner fields, so that you can put views on top of the WeekView on the correct places.
    replaced the time auto-update mechanism that used Handler to update every minute. Now uses proper BroadcastReceiver instead.
    AndroidDeveloperLB committed May 31, 2018
    Configuration menu
    Copy the full SHA
    3e11806 View commit details
    Browse the repository at this point in the history
  2. optimized code a bit.

    fixed issue of not getting correct lastVisibleDate.
    AndroidDeveloperLB committed May 31, 2018
    Configuration menu
    Copy the full SHA
    09435f8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b73991c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    125c9dc View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2018

  1. setting a default gap between overlapping events as 1dp, because when…

    … there are multiple of them from same calendar, it looks bad.
    
    minor performance improvements.
    AndroidDeveloperLB committed Jun 10, 2018
    Configuration menu
    Copy the full SHA
    46e5259 View commit details
    Browse the repository at this point in the history
  2. setting a default gap between overlapping events as 1dp, because when…

    … there are multiple of them from same calendar, it looks bad.
    
    minor performance improvements.
    AndroidDeveloperLB committed Jun 10, 2018
    Configuration menu
    Copy the full SHA
    7fd7e08 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'develop' of https://github.com/AndroidDeveloperLB/Andro…

    …id-Week-View into develop
    
    # Conflicts:
    #	library/src/main/java/com/alamkanak/weekview/WeekView.kt
    AndroidDeveloperLB committed Jun 10, 2018
    Configuration menu
    Copy the full SHA
    da67353 View commit details
    Browse the repository at this point in the history
  4. added side subtitle text, so you can show the year in case it's not t…

    …he current year.
    
    minor improvements.
    AndroidDeveloperLB committed Jun 10, 2018
    Configuration menu
    Copy the full SHA
    b0b098f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a6ff5c8 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2018

  1. Configuration menu
    Copy the full SHA
    6f829dd View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2018

  1. Updated SDKs.

    Updated to use Android-X instead of support library.
    AndroidDeveloperLB committed Sep 30, 2018
    Configuration menu
    Copy the full SHA
    2f9b1b9 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2018

  1. Configuration menu
    Copy the full SHA
    5688b50 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2019

  1. updated sdks

    AndroidDeveloperLB committed Feb 8, 2019
    Configuration menu
    Copy the full SHA
    91ab45f View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2019

  1. Update README.md

    AndroidDeveloperLB authored Feb 10, 2019
    Configuration menu
    Copy the full SHA
    88c9020 View commit details
    Browse the repository at this point in the history