braintree / android-card-form

A ready-made card form layout that can be included in your Android app, making it easy to accept credit and debit cards.
MIT License
366 stars 128 forks source link

Prevent NPE when not setting supported card types #61

Closed quinnjn closed 5 years ago

quinnjn commented 5 years ago

This will allow the view to function as an empty view. Integrators should check the JavaDoc as part of the debugging process and read that setSupportedCardTypes should be called first.

Fixes #58