Giter Site home page Giter Site logo

pinview.maui's People

Contributors

corentinswiss4 avatar mgohil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

corentinswiss4

pinview.maui's Issues

Add functionality

Please add possibility to set the font size if isPassword = false

Tap gesture area to bring up keyboard is extremely small

Hi There, I am running your sample project and have tried on 2 LG devices, one running android 8 and the other android 12. When clicking on the pinView, the keyboard does not show up except when a small region in the middle of the pinView is tapped. When I click on the boxes I get the output "PINView: Box Tapped" but the keyboard does not pop up. I only get the output "PINView: PIN Entry Focused" when tapping on the very small region. Is this a bug or am I doing something incorrect?

Map PinView to a button

Hi
Wondering how I could use your control again a set of buttons in my page.
I Have a custom "Keypad page" with 10 buttons - 1 to 9 buttons and 0 button and when I press a button i want to trigger your pinview control and capture the value .

Does your pinView only work with the inbuilt keyboard or Can I somehow map the PinValue to the value of a button that gets pressed on my page?

Does it make sense what I am asking?

many thanks

Keyboard no appearing

Hi i downloaded your project and try before i use on mine project after i focus on the pin view my keyboard is not appearing did i set something wrong?

Samples project crash on android system when clicking on "All Samples"

The exception message said

05-13 12:44:42.677  9437  9437 I MonoDroid:   --- End of managed Android.Runtime.JavaProxyThrowable stack trace ---
05-13 12:44:42.677  9437  9437 I MonoDroid: android.runtime.JavaProxyThrowable: Microsoft.Maui.Controls.Xaml.XamlParseException: Position 30:30. StaticResource not found for key 20
05-13 12:44:42.677  9437  9437 I MonoDroid:    at Microsoft.Maui.Controls.Xaml.StaticResourceExtension.ProvideValue(IServiceProvider serviceProvider)
05-13 12:44:42.677  9437  9437 I MonoDroid:    at PINView.Maui.Samples.Views.SampleViews.BoxFocusAnimationSampleView.InitializeComponent()
05-13 12:44:42.677  9437  9437 I MonoDroid:    at PINView.Maui.Samples.Views.SampleViews.BoxFocusAnimationSampleView..ctor()
05-13 12:44:42.677  9437  9437 I MonoDroid:    at PINView.Maui.Samples.Views.PINSamplesPage.InitializeComponent()
05-13 12:44:42.677  9437  9437 I MonoDroid:    at PINView.Maui.Samples.Views.PINSamplesPage..ctor()
05-13 12:44:42.677  9437  9437 I MonoDroid:    at PINView.Maui.Samples.ViewModels.MainPageViewModel.GoToPINSamplesPageCommandExecute()
05-13 12:44:42.677  9437  9437 I MonoDroid:    at Microsoft.Maui.Controls.Command.<>c__DisplayClass4_0.<.ctor>b__0(Object o)
05-13 12:44:42.677  9437  9437 I MonoDroid:    at Microsoft.Maui.Controls.Command.Execute(Object parameter)
05-13 12:44:42.677  9437  9437 I MonoDroid:    at Microsoft.Maui.Controls.ButtonElement.ElementClicked(VisualElement visualElement, IButtonElement ButtonElementManager)
05-13 12:44:42.677  9437  9437 I MonoDroid:    at Microsoft.Maui.Controls.Button.SendClicked()
05-13 12:44:42.677  9437  9437 I MonoDroid:    at Microsoft.Maui.Controls.Button.Microsoft.Maui.IButton.Clicked()
05-13 12:44:42.677  9437  9437 I MonoDroid:    at Microsoft.Maui.Handlers.ButtonHandler.OnClick(IButton button, View v)
05-13 12:44:42.677  9437  9437 I MonoDroid:    at Microsoft.Maui.Handlers.ButtonHandler.ButtonClickListener.OnClick(View v)
05-13 12:44:42.677  9437  9437 I MonoDroid:    at Android.Views.View.IOnClickListenerInvoker.n_OnClick_Landroid_view_View_(IntPtr , IntPtr , IntPtr )
05-13 12:44:42.677  9437  9437 I MonoDroid:    at Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PPL_V(_JniMarshal_PPL_V , IntPtr , IntPtr , IntPtr )
05-13 12:44:42.677  9437  9437 I MonoDroid: 	at crc64fcf28c0e24b4cc31.ButtonHandler_ButtonClickListener.n_onClick(Native Method)
05-13 12:44:42.677  9437  9437 I MonoDroid: 	at crc64fcf28c0e24b4cc31.ButtonHandler_ButtonClickListener.onClick(ButtonHandler_ButtonClickListener.java:31)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at android.view.View.performClick(View.java:7448)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:1219)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at android.view.View.performClickInternal(View.java:7425)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at android.view.View.access$3600(View.java:810)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at android.view.View$PerformClick.run(View.java:28305)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at android.os.Handler.handleCallback(Handler.java:938)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at android.os.Handler.dispatchMessage(Handler.java:99)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at android.os.Looper.loop(Looper.java:223)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at android.app.ActivityThread.main(ActivityThread.java:7656)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at java.lang.reflect.Method.invoke(Native Method)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
05-13 12:44:42.678  9437  9437 I MonoDroid: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Updating the code in BoxFocusAnimationSampleView.xaml from
<StackLayout Padding="{StaticResource 0,20}">
to
<StackLayout Padding="0,20">
solved the problem.

Keyboard not dismissed automatically on Android

Hi,

I've been playing around with your plugin on my android emulator and has noticed that the keyboard doesn't get dismissed automatically when the pin is entered. Only when I actively click on the "Complete" button. Maybe this is something you could take a look at?

All in all; great job with the plugin!

Deleting a number in the middle of the pin

Hi there,
thank you for this control.

if we have a PinView with a PinLength of 5 and I want to delete a pin in the middle I have to delete them all.

Is there a way to allow only deletion of a single pin?
many thanks

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.