Giter Club home page Giter Club logo

ph.wdullaer.materialdatetimepicker's Introduction

PH.Wdullaer.Materialdatetimepicker

Nuget

A Xamarin Android binding for Wdullaer Material Datetime Picker. Supports Android 4.1 (API 16) and greater (Android 4.0 (API 15) was supported until 2.364.0). The library includes a themable material design timepicker and datepicker

Nuget Package

The latest stable binding package can be found on Nuget, based on version 4.2.3 with AndroidX support.

Install-Package PH.Wdullaer.Materialdatetimepicker 

Install the latest version v2.x.x builds for Xamarin Android Support library compatibility Nuget, based on version 3.6.4.

Install-Package PH.Wdullaer.Materialdatetimepicker -Version 2.364.0

Usage

Style Version 1

Datepicker Timepicker
Datepicker Timepicker

Style Version 2

Datepicker Timepicker
Datepicker Timepicker

ph.wdullaer.materialdatetimepicker's People

Contributors

plac3hold3r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ph.wdullaer.materialdatetimepicker's Issues

AppCenter build failed

I got this error while I am trying build my app over AppCenter

Errors in /Users/runner/runners/2.165.2/work/1/s/AgentWay.Android/AgentWay.Android.csproj
    NU1107: Version conflict detected for Xamarin.Android.Support.Core.UI. Install/reference Xamarin.Android.Support.Core.UI 28.0.0.3 directly to project AgentWay.Android to resolve this issue.
     AgentWay.Android -> Microsoft.AppCenter.Push 3.0.0 -> Xamarin.Android.Support.v7.MediaRouter 28.0.0.3 -> Xamarin.Android.Support.v7.AppCompat 28.0.0.3 -> Xamarin.Android.Support.Fragment 28.0.0.3 -> Xamarin.Android.Support.Core.UI (= 28.0.0.3)
     AgentWay.Android -> PH.Wdullaer.Materialdatetimepicker 2.364.0 -> Xamarin.Android.Support.v13 27.0.2.1 -> Xamarin.Android.Support.Core.UI (= 27.0.2.1).

How to use MaterialdDatePicker.DatePickerDialog().Show() with FragmentTransactions

Hello, thanks for this package.
Im trying to understand how to use your code. In your App example you use viewpager and you create an adapter for this. But what if we don't want to use a ViewPager and we just want to use a fragment to display the dialog? For example on my Activity im showing the fragment this way:

            FragmentTransaction fragmentTx = FragmentManager.BeginTransaction();
            ChooseDateTimeFragment aDifferentDetailsFrag = new ChooseDateTimeFragment();
            fragmentTx.Add(Resource.Id.ChooseDateTimeFragment, aDifferentDetailsFrag);
            fragmentTx.Commit();

What then i have to use on the MaterialdDatePicker.DatePickerDialog().Show() function? i dont have an adapter to use FragmentManager and i cant access FragmentTransaction of the Activity from the fragment i think, im a little confused.
Thanks @Plac3hold3r

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.