Fashion
This app is a small demo application based on modern Android application tech-stacks and MVVM architecture. This project is for focusing especially on the new library Hilt of implementing dependency injection. Also fetching data from the network data in the via repository pattern.
Screenshopts
Architecture
- MVVM Architecture (View - Databinding - ViewModel - Model)
- Repository pattern
Tech stack & Open-source libraries
- Kotlin based, Coroutines for asynchronous.
- Hilt for dependency injection.
- Android JetPack
- Lifecycle - dispose of observing data when lifecycle state changes.
- ViewModel - UI related data state holder and life cycle aware.
- Retrofit & OKHttp3 - construct the REST API response and handling the error responses.
- Moshi - Modern JSON librery for Kotlin and Java.
- Glide - Use for loading network and local image.
- Timber - For logging.
- Material Components - Material design component UI related.
Testing
- Mockito to mock.
- Roboelectric to test android classes.
- Mockwebserver to mock response.
License
Designed and developed by 2021 Hein Htet
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.