Loading repository data…
Loading repository data…
noor1yasser9 / repository
GithubApp is a sample Android project using Github API based on MVVM architecture. It showcases the app development with well-designed architecture and up-to-date Android tech stacks. The MVVM arch using Coroutine, Dagger, and Android Jetpack.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
GithubApp is a sample Android project using Github API based on MVVM architecture. It showcases the app development with well-designed architecture and up-to-date Android tech stacks.
Model-View-ViewModel (ie MVVM) is a template of a client application architecture, proposed by John Gossman as an alternative to MVC and MVP patterns when using Data Binding technology. Its concept is to separate data presentation logic from business logic by moving it into particular class for a clear distinction. You can also check MVP
Why Promoting MVVM VS MVP:
MVVM Best Pratice:
Avoid references to Views in ViewModels.
Instead of pushing data to the UI, let the UI observe changes to it.
Distribute responsibilities, add a domain layer if needed.
Add a data repository as the single-point entry to your data.
Expose information about the state of your data using a wrapper or another LiveData.
Consider edge cases, leaks and how long-running operations can affect the instances in your architecture.
Don’t put logic in the ViewModel that is critical to saving clean state or related to data. Any call you make from a ViewModel can be the last one.


Copyright 2021 Noor Yasser
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.