Changelog
A log or record of all notable changes made.
Version(latest): 1.0.2What's Changed
1 - Migrate data binding
to view binidng
- this Simplifies view lookup and reduces boilerplate code.
- will Improved performance as it avoids the overhead of binding expressions.
- No Need for XML Changes: Unlike DataBinding, you don’t need to modify your layout XML with additional
data-binding
syntax
2 - Apply Clean Architecture
on Moyasar SDK by divide our project into 3 layers
1 - Presentation/UI:
- This layer deal with handling the UI part.
- It contains Activity, Fragment, ViewModel, and imports with the Android package.
2 - Domain:
- This layer deal with the Business logic part.
- It contains Usecase, a Repository interface.
- This is a pure Kotlin module.
3 - Data:
- This layer deal with all Data related part like fetch, store etc.
- It Contains Repository Implementation from the case.
pros:
- Clean Architecture basically focuses on the separation of concerns.
- Code is easy to test.
- User-friendly package structure.
- team will be able to implement new features even faster.
3 - Testing
- Unit Tests: Test entities, use cases, and repositories in isolation.
- Integration Tests: Test the complete flow of data from the UI to the SDK and back.