Giter VIP home page Giter VIP logo

Comments (6)

MihirPalkhiwala avatar MihirPalkhiwala commented on September 21, 2024 1

Fixed now. Excellent. :)

from lazydatepicker.

lopspower avatar lopspower commented on September 21, 2024

Do you use the latest version of the library? This has been corrected in this one:

implementation 'com.mikhaellopez:lazydatepicker:1.0.4'

from lazydatepicker.

MihirPalkhiwala avatar MihirPalkhiwala commented on September 21, 2024

Yes. Using latest version 1.0.4

from lazydatepicker.

lopspower avatar lopspower commented on September 21, 2024

Can you send me your XML and/or your implementation to try to helped you ? (maybe a sample project with your problem)
Because everything works well in the sample project by adding:

// Init LazyDatePicker
LazyDatePicker lazyDatePicker = findViewById(R.id.lazyDatePicker);
lazyDatePicker.setDate(new Date());

and

<com.mikhaellopez.lazydatepicker.LazyDatePicker
        android:id="@+id/lazyDatePicker"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:ldp_date_format="mm-dd-yyyy" />

from lazydatepicker.

MihirPalkhiwala avatar MihirPalkhiwala commented on September 21, 2024

XML
<com.mikhaellopez.lazydatepicker.LazyDatePicker android:id="@+id/lazyDatePicker" android:layout_gravity="center" android:layout_width="match_parent" android:layout_height="wrap_content" app:ldp_date_format="mm-dd-yyyy" android:padding="@dimen/size_5dp" app:ldp_hint_color="@color/primaryGray" app:ldp_text_color="@color/colorPrimary" />

LazyDatePicker lazyDatePicker = findViewById(R.id.lazyDatePicker);
lazyDatePicker.setDate(new Date());

Now just try to pick a new date and it will give an error.

from lazydatepicker.

lopspower avatar lopspower commented on September 21, 2024

It's now fix on the last version 1.0.5:

implementation 'com.mikhaellopez:lazydatepicker:1.0.5'

Thx for you feeback
Can you confirm it's now ok for you ?

from lazydatepicker.

Related Issues (7)

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.