All Projects → manojbhadane → PaymentCardView

manojbhadane / PaymentCardView

Licence: MIT license
Custom Credit/Debit card view

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects
shell
77523 projects

Projects that are alternatives of or similar to PaymentCardView

paymentgateway
Dokumentace ČSOB platební brány a jejího eAPI pro platby platebními kartami, Apple Pay, mallpay a platebními tlačítky ČSOB.
Stars: ✭ 104 (+67.74%)
Mutual labels:  payment, visa, payment-gateway, mastercard
Android Customtoast
Easy to use Custom Toast Library for Android
Stars: ✭ 24 (-61.29%)
Mutual labels:  android-development, android-ui, android-app, customview
Awesomedialog
A Beautiful Dialog Library for Kotlin Android
Stars: ✭ 163 (+162.9%)
Mutual labels:  android-development, android-ui, android-app
Bottomsheet
BottomSheet dialog library for Android
Stars: ✭ 219 (+253.23%)
Mutual labels:  android-development, android-ui, android-app
cybersource-sdk-java
Java SDK for CyberSource Simple Order API
Stars: ✭ 44 (-29.03%)
Mutual labels:  payment, visa, payment-gateway
Ibackdrop
A library to simply use Backdrop in your project (make it easy). Read more ->
Stars: ✭ 137 (+120.97%)
Mutual labels:  android-development, android-ui, android-app
Textwriter
Animate your texts like never before
Stars: ✭ 140 (+125.81%)
Mutual labels:  android-development, android-ui, customview
card-validator
Card validation helpers for payment forms.
Stars: ✭ 22 (-64.52%)
Mutual labels:  credit-card, visa, mastercard
Datingapp
Dating UI kit is used for online meet up with girls and boys . The screen contains more than 30 icons and most of all required elements required to design an application like this. The XML and JAVA files contains comments at each and every point for easy understanding. Everything was made with a detail oriented style and followed by today's web trends. Clean coded & Layers are well-organized, carefully named, and grouped.
Stars: ✭ 97 (+56.45%)
Mutual labels:  android-development, android-ui, android-app
Go Payment
Payment Connector for Midtrans and Xendit. Sample site that is using this payment proxy is https://imrenagi.com/donate
Stars: ✭ 136 (+119.35%)
Mutual labels:  payment, credit-card, payment-gateway
cybersource-android-sdk
The CyberSource InApp SDK enables developers to simply and securely incorporate mobile payments into their Android applications.
Stars: ✭ 25 (-59.68%)
Mutual labels:  payment, visa, payment-gateway
Biometric-Authentication-Android
A sample implementation of AndroidX biometrics API using Kotlin. Authenticate using biometrics or PIN/Password if biometrics isn't available on device. Fully implemented in Jetpack compose using Material 3 dynamic theming and also has a separate implementation in xml with MDC 3.
Stars: ✭ 29 (-53.23%)
Mutual labels:  android-development, android-ui, android-app
Android Inappbilling
A sample which uses Google's Play Billing Library and it does InApp Purchases and Subscriptions.
Stars: ✭ 114 (+83.87%)
Mutual labels:  android-development, android-ui, android-app
Cameraxdemo
A sample camera app with CameraX API from Android Jetpack
Stars: ✭ 112 (+80.65%)
Mutual labels:  android-development, android-ui, android-app
Notzz App
📝 A Simple Note-Taking App built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, State Flow, Hilt-Dependency Injection, Jetpack DataStore, Architecture Components, MVVM, Room, Material Design Components).
Stars: ✭ 158 (+154.84%)
Mutual labels:  android-development, android-ui, android-app
Mediapicker
Easy customizable picker for all your needs in Android application
Stars: ✭ 105 (+69.35%)
Mutual labels:  android-development, android-ui, android-app
Modern Android Development
Modern Android Development tools & key points
Stars: ✭ 219 (+253.23%)
Mutual labels:  android-development, android-ui, android-app
Phonenumberverificationui Android
Check out the new style for mobile number verification 😉😉😊😊
Stars: ✭ 52 (-16.13%)
Mutual labels:  android-development, android-ui, android-app
Edxposedmanager
Companion Android application for EdXposed
Stars: ✭ 1,172 (+1790.32%)
Mutual labels:  android-development, android-ui, android-app
credit-card-prompt
Credit card prompt with validation and address lookup
Stars: ✭ 13 (-79.03%)
Mutual labels:  payment, credit-card, debit-card

enter image description here

Payment Card View Tweet

An easy-to-use, customizable, Payment card view for Android.

Specs

API Android Arsenal Donate

Download

This library is available in jCenter which is the default Maven repository used in Android Studio.

Gradle

Step 1. Add it in your root build.gradle at the end of repositories

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency in your apps module build.gradle

dependencies {
	 implementation 'com.github.manojbhadane:PaymentCardView:v1.3'
}

Spread Some ❤️

GitHub followers Twitter Follow

Usage

XML

<com.manojbhadane.PaymentCardView
            android:id="@+id/creditCard"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:cv_submitBtnText="Done"
            app:cv_cardTitle="Pay Now"/>

Java

        //Init        
        PaymentCardView paymentCard = (PaymentCardView) findViewById(R.id.creditCard);

        //Callbacks
        paymentCard.setOnPaymentCardEventListener(new PaymentCardView.OnPaymentCardEventListener() {
            @Override
            public void onCardDetailsSubmit(String month, String year, String cardNumber, String cvv) {

            }

            @Override
            public void onError(String error) {
                Toast.makeText(SampleActivity.this, error, Toast.LENGTH_SHORT).show();
            }

            @Override
            public void onCancelClick() {

            }
        });

Customization

There are several customization options available which you can use to completely change the look-and-feel and functionality of this view to match your needs.

XML (Quick and Easy)

You can add some attributes to the PaymentCardView from your XML layout.

  app:cv_submitBtnText="Done"                               // Change the submit button text
  app:cv_cardTitle="Pay Now"                                // Change the card title text

JAVA (Programatically)

You can also programatically change the properties of the view, thereby having more control over it.

paymentCard.setCardTitle("Pay Now"); 		    // Change the submit button text
paymentCard.setSubmitButtonText("Done"); 	    // Change the card title text

Bugs or Requests

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on GitHub and I'll look into it. Pull request are also welcome.

About The Author

Manoj Bhadane

Android & Backend Developer.

License

MIT License

Copyright (c) 2019 Manoj Bhadane

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].