https://github.com/paymentwall/android-gamepay-sdk-core-ui
Design system and core UI elements for Android GamePaySDK
https://github.com/paymentwall/android-gamepay-sdk-core-ui
Last synced: 4 months ago
JSON representation
Design system and core UI elements for Android GamePaySDK
- Host: GitHub
- URL: https://github.com/paymentwall/android-gamepay-sdk-core-ui
- Owner: paymentwall
- License: mit
- Created: 2025-07-23T07:19:10.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-09-30T05:25:58.000Z (9 months ago)
- Last Synced: 2025-09-30T06:22:33.720Z (9 months ago)
- Language: Java
- Size: 4.94 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# GamePay CoreUI SDK
`gpcoreui` is an Android library providing reusable payment UI components and validation helpers. The code is written in Java with all classes prefixed by `GP` under the package `com.terminal3.gpcoreui`.
## Modules
- **gpcoreui** – library module containing the UI widgets and utilities.
- **app** – sample application demonstrating usage of the components.
## Installation
Include the module in your `settings.gradle` and add a dependency in your app module:
```gradle
implementation project(":gpcoreui")
```
The library targets `minSdk 24` and uses `AppCompat` for compatibility.
## Usage
Add the desired components in your XML layout. Example card form:
```xml
```
To build forms dynamically, use `GPDynamicForm`:
```java
GPDynamicForm form = findViewById(R.id.dynamicForm);
form.setOptions(serverOptions);
Map values = form.getValues();
// Or form.getAllValues() to include hidden fields
```
See [`docs/COMPONENTS.md`](docs/COMPONENTS.md) for an index of available widgets. Each component has its own document describing parameters and usage.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.