House Of Cards

Tools for working with a house of (credit) cards

License

License

GroupId

GroupId

com.prolificinteractive
ArtifactId

ArtifactId

houseofcards
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

aar
Description

Description

House Of Cards
Tools for working with a house of (credit) cards
Project URL

Project URL

https://github.com/prolificinteractive/HouseOfCards
Source Code Management

Source Code Management

https://github.com/prolificinteractive/HouseOfCards

Download houseofcards

How to add to project

<!-- https://jarcasting.com/artifacts/com.prolificinteractive/houseofcards/ -->
<dependency>
    <groupId>com.prolificinteractive</groupId>
    <artifactId>houseofcards</artifactId>
    <version>1.0.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.prolificinteractive/houseofcards/
implementation 'com.prolificinteractive:houseofcards:1.0.1'
// https://jarcasting.com/artifacts/com.prolificinteractive/houseofcards/
implementation ("com.prolificinteractive:houseofcards:1.0.1")
'com.prolificinteractive:houseofcards:aar:1.0.1'
<dependency org="com.prolificinteractive" name="houseofcards" rev="1.0.1">
  <artifact name="houseofcards" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.prolificinteractive', module='houseofcards', version='1.0.1')
)
libraryDependencies += "com.prolificinteractive" % "houseofcards" % "1.0.1"
[com.prolificinteractive/houseofcards "1.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

House Of Cards

Travis build status

Tools for working with a house of (credit) cards.

FRANK UNDERWOOD

Installation

compile 'com.prolificinteractive:houseofcards:1.0.1'

Usage

Add a textWatcher to your EditText:

editText.addTextChangedListener(new CreditCardTextWatcher());

You can also pass in your own instance of CreditCardUtil to control what card types are used:

CreditCardUtil cardUtil = new CreditCardUtil(CreditCardUtil.VISA);
editText.addTextChangedListener(new CreditCardTextWatcher(cardUtil));

And you're not just limited to built in types! Just implement CreditCard!

Contributing to House Of Cards

To report a bug or enhancement request, feel free to file an issue under the respective heading.

If you wish to contribute to the project, fork this repo and submit a pull request. Code contributions should follow the standards specified in the Prolific Android Style Guide.

License

prolific

Copyright (c) 2017 Prolific Interactive

HouseOfCards is maintained and sponsored by Prolific Interactive. It may be redistributed under the terms specified in the LICENSE file.

Name Disclaimer

This project is in no way affiliated with the Netflix Original Series House of Cards or the UK television series of the same name. This project is about credit card validation, not corrupt politicians.

com.prolificinteractive

Prolific Interactive

Prolific Interactive is a strategy-led mobile agency partnering with high-growth lifestyle brands.

Versions

Version
1.0.1
1.0.0