Giter Site home page Giter Site logo

lachlanmckee / datetimepicker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jaydp17/datetimepicker

1.0 1.0 4.0 2.97 MB

DateTimePicker is a library which contains the beautiful DatePicker that can be seen in the new Google Agenda app.

Java 100.00%

datetimepicker's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

datetimepicker's Issues

NullPointerException at the bottom of year view

When scrolling the year selector all the way to the bottom (btw why is there a bottom at all, what if I want to select a date after 2036?), you get the following crash on Marshmallow:

Process: com.simplicityapks.reminderdatepicker.sample, PID: 3506
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getBottom()' on a null object reference
at com.fourmob.datetimepicker.date.YearPickerView.isAtBottom(YearPickerView.java:76)
at com.fourmob.datetimepicker.date.YearPickerView.onScroll(YearPickerView.java:152)
at android.widget.AbsListView.invokeOnItemScrollListener(AbsListView.java:1463)
at android.widget.AbsListView.trackMotionScroll(AbsListView.java:5072)
at android.widget.AbsListView$FlingRunnable.run(AbsListView.java:4601)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
at android.view.Choreographer.doCallbacks(Choreographer.java:670)
at android.view.Choreographer.doFrame(Choreographer.java:603)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

It has something to do with the mMoreContentIndicator asking for the last item which is somehow null. I'll look into it some more when I get the time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.