GitHubSearch
Android application following the best practices: Kotlin, Rx, Clean Architecture, modules, tests, MVVM ...
Install / Use
/learn @thgMatajs/GitHubSearchREADME
GitHub Search Repositories
Android app to search repositories in github.
This project leverages on:
- Kotlin (main programming language)
- MVVM Clean Architecture with Repository Pattern
- Retrofit (for networking over HTTP)
- Gson (for serialized objects)
- Architecture Components (LiveData, ViewModel, Room Persistence, Paging)
- RxJava e RxAndroid (for asynchronous programming)
- Koin (for Dependency Injection)
- coil (for load images)
- Mockito, JUnit4 for testing
- CI/CD
Modules and their responsibilities
- model - standardization of models using interfaces
- base - abstracts logics
- di - centralization of module di so as not to overload the
app module - domain - use cases logic
- data - logic of interaction with
cache moduleorremote module - remote - call logic in api
- cache - persistence local logic
- presentation - view model logic
- app - ui logic
Next steps
- Implement more instrumentation and unit tests
- Improve error handling
- Change app to be used in 100% offline
- Maintain the position of the list when rotating the device
- Add field to search by language and add filter option
- Implement ktlint
- Implement detekt
Getting started
There are a few ways to open this project.
Android Studio
- Android Studio -> File -> New -> From Version control -> Git
- Enter
https://github.com/thgcode0101/GitHubSearch.gitinto URL field
Command line + Android Studio
- Run
git clone https://github.com/thgcode0101/GitHubSearch.git - Android Studio -> File -> Open
LICENSE
MIT License
Copyright (c) 2020 gentalhacode
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
