checkout / frames-android

Frames Android: making native card payments simple
https://www.checkout.com/docs/integrate/sdks/android-sdk
MIT License
51 stars 35 forks source link

Added bug fix for CustomAdapter NullPointerException on clearForm #55

Closed shavinda-rabichandran-cko closed 3 years ago

shavinda-rabichandran-cko commented 3 years ago

Proposed changes

Added null checks to prevent NullPointerException when clearForm is used before the PageAdapter populates the views

Types of changes

What types of changes does your code introduce to frames-android? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

Closes issue #53