Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/issotina/CardForm
A ready-made pretty interactive card form that can be included in your Android app, making it easy to accept credit and debit cards.
https://github.com/issotina/CardForm
android-library debit-card java-8 payment-integration
Last synced: 3 months ago
JSON representation
A ready-made pretty interactive card form that can be included in your Android app, making it easy to accept credit and debit cards.
- Host: GitHub
- URL: https://github.com/issotina/CardForm
- Owner: issotina
- Created: 2016-12-29T13:43:34.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-27T14:41:25.000Z (over 5 years ago)
- Last Synced: 2024-05-22T06:13:11.680Z (6 months ago)
- Topics: android-library, debit-card, java-8, payment-integration
- Language: Java
- Homepage:
- Size: 2.96 MB
- Stars: 47
- Watchers: 4
- Forks: 19
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-android-ui - CardForm - Android信用卡借记卡互动表单 (CreditCard)
README
# ANDROID CARD FORM
**A better Android credit/debit card interactive form without writing a lot of code**CardForm can be used as a simple credit card validation form with any credit card form and any payment API (without you changing anything). Everything is created with Android SDK - no picture is required.
![Demo App](https://raw.githubusercontent.com/geeckmc/CardForm/master/demo.gif)
## Installation
**by Gradle:**
```gradle
compile 'com.craftman.cardform:cardform:0.0.2'
```## Setup and usage
**Use CardForm layout in your xml code:**
```xml
`
```
**In your java code**
```java
CardForm cardForm = (CardForm) findViewById(R.id.card_form);
cardForm.setPayBtnClickListner(new OnPayBtnClickListner() {
@Override
public void onClick(Card card) {
//Your code here!! use card.getXXX() for get any card property
//for instance card.getName();
}
});
```# License
```
Copyright 2016 Shadaï ALI (craftman).Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```