Welcome to the PelecardExam project! This is a demonstration of a professional, scalable, and efficient approach to implementing a payment SDK using modern Android development practices.
The PelecardExam project is a comprehensive implementation focused on handling payment operations efficiently and securely using Kotlin, Jetpack Compose, and Hilt for dependency injection. The architecture emphasizes clean code principles and easy maintainability.
- MVVM Architecture: Decoupled and scalable code design, following the Model-View-ViewModel pattern.
- Jetpack Compose: Modern UI development with Compose, eliminating the need for XML layouts.
- Hilt for Dependency Injection: Simplifying dependency management across the project.
- Repository Pattern: Separation of data sources for better testability and abstraction.
- Kotlin DSL (KTS) Gradle: Efficient and clear build configurations using Kotlin scripting.
├── MyApp
│ ├── MainActivity.kt
│ ├── repos
│ ├── ui
│ ├── di
│ ├── data
│ ├── model
│ └── helpers
- MainActivity: Entry point for the app, utilizing Jetpack Compose for the UI.
- repos: Contains repository classes to manage data sources.
- ui: Compose-based UI elements and screens.
- di: Dependency injection setup using Hilt.
- data: Handles data models and remote/local data sources.
- model: Defines the domain models used across the app.
- helpers: Contains utility classes and helper functions to support various operations.
This project is designed for Pelecard, a company specializing in payment solutions.
The implementation showcases a professional, secure, and scalable approach to handling payment transactions. It demonstrates best practices in Android development, focusing on efficient architecture and maintainable code, aimed at integrating seamlessly into Pelecard's payment SDK systems.
- Clone the repository:
git clone https://github.com/unix14/PelecardExam.git
- Open the project in Android Studio.
- Build and run on an Android emulator or device.
- Architecture: The app uses the MVVM architecture, enhancing separation of concerns and making the code easier to maintain and test.
- Jetpack Compose: The UI is built using Jetpack Compose, embracing declarative programming and eliminating the use of XML layouts.
- Dependency Injection: Hilt is used to manage dependencies efficiently, ensuring a clean and modular setup.
- Repository Pattern: Data operations are abstracted using repositories, simplifying the flow of data between the data sources and the ViewModel.
Eyal Yaakobi
- GitHub: unix14
Feel free to reach out or check my other projects for more Android and Flutter content!