omjoonkim / githubbrowserapp Goto Github PK
View Code? Open in Web Editor NEWGitHubBrowserApp on kotlin + rxJava2 + AAC+ retrofit2 + mvvm + koin + cleanArchitecture(modularization)
GitHubBrowserApp on kotlin + rxJava2 + AAC+ retrofit2 + mvvm + koin + cleanArchitecture(modularization)
Endpoint
λΌλ object name μ baseUrl
λ°μ μ‘΄μ¬νμ§ μμ΅λλ€.
endpoint λ³μλ₯Ό μΆκ°νλ€λ©΄ νμν object κ° λκ² μΌλ νμ¬ κ·Έλ κ² μ¬μ©νκ³ μμ§ μμΌλ μ κ±°νλ κ²μ΄ μ΄λ¨κΉμ?
baseUrl
μ체λ₯Ό build.gradle
λ΄μ buildConfigField
λ³μλ‘ μ μν΄λλ κ²μ΄ μ΄λ¨κΉμ?
gson
/ apiClient
/ gitHubDataRepository
λ³μ λͺ¨λ environment
λΌλ λ³μλ₯Ό ν΅ν΄ μ κ³΅μ΄ λκ³ μμ΅λλ€.
μμ λ³μλ€μ private μΌλ‘ λμ§ μλλ€λ©΄ environment λ‘μ λ°λ‘ μ 곡νλ μλ―Έκ° μμ λ― ν©λλ€.
gitHubDataRepository
λ apiClient
λ₯Ό Wrapping νμ¬ κΈ°λ₯μ νκ³ μμ΅λλ€.
μ¦ environment λ³μμμ apiClient λ₯Ό λ°λ‘ μ 곡ν νμκ° μμ΅λλ€.
μ€μ λ‘ environment λ³μμμ apiClient λ₯Ό λ°μμ μ¬μ©νλ κ²½μ°κ° μ‘΄μ¬νμ§ μμ΅λλ€.
enviroment -> environment
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.