Skip to content

fredgrott/GWSViewModel

Repository files navigation

Gws Logo

GWSViewModel

There are times when you do not need a full application architecture as the application is small in nature or is not very complex. These cases may call for only maintaining the view state during an orientation change.for example.

Thus, view model can help in persisting the state during orientation changes. Nice and small compact library to be standalone and do one thing extremely well. At this time it's not event base driven to keep it simple.

Usage

See the sample application in this repo. Remember, that you can use this in combination with my GWSBindroid as that library allows you to notify the UI when the model changes.

Package Naming

What gives? Most beginning android application developers end up naming different parts of patterns incorrectly such as the layout xml file as a view or activities and fragments as views. Obviously, they are not or otherwise Google Engineers would also use the same terms.

View is either a single UI component couploed with a xml layout file and or full groups of UI components and their xml layout file. Activities and Fragments are viewControllers as Google wanted a pattern of thin views with UI component business logic in viewControllers as that is an easier pattern for beginning java developers to learn.

Hence, the two subpackages of library of viewmodel and viewcontrollers.

Resources

Articles

Developer Sites

Google Android Developer Site

Google Android Developer Tool Site

Google Android Developer Blog

StackOverflow Android Questions

Gradle

Reddit-androidev

Amazon Android Dev Site

JavaRanch Android Forum

Project Contributors

Fred Grott GWS

About Fred Grott/GWS

Fred Grott(GrottWorkShop) is a mobile developer specializing in android and focusing on completing consulting contracts for porting iPhone applications to android and MVPs for start-ups in the Greater ChicagoLand area. Part of Fred Grott(GWS) focus is producing fast android application prototypes in an agile way. Ways to contact are via email listed on the github profile page as I do not obfuscate my email when I do github commits.

Recruiter Warning

If you are a recruiter do not play the spam games of spamming my email or GoogleVoice number as no recruiter has anything to sell me as those like me in that they are computer software engineer polyglot have no need to play the broken HR hiring game as we plot our own unique course. And if you are a start-up founder that does their own mobile dev recruiting instead of out-sourcing it than you might know what I am looking for or seeking.

What I Want?

If you are a startup in the Northwest Indiana or Chicago and are in-fact seeking a Senior Android Engineer that would be able to create either an android application from scratch or port an iOS app to android that is testable and maintainable and has a user interface that seduces the mobile device user than you are on-the-road to knowing what I might want. Even better if you can match my work-remote paid weekly requirements. And that conversation usually starts with a paid meal at my location.

Fred Grott's Social Profiles

Fred Grott AngelList

GWS Behance

Fred Grott BitBucket

GWS Blog

Fred Grott BuiltInChicago

Fred Grott DeviantArt

Fred Grott Dribbble

Fred Grott Facebook

Fred Grott FounderDating

[Fred Grott GeekList](https://geekli.st/fredgrott

Fred Grott GeekList Git

Fred Grott GitHub

Fred Grott GitHub Gists

Fred Grott GWS Website

Fred Grott Google Stream

Fred Grott HackerNews

Fred Grott LinkedIn

Fred Grott Medium

Fred Grott Pinterest

Fred Grott Quora

Fred Grott Reddit

Fred Grott SlideShare

Fred Grott SpeakerDeck

Fred Grott StackOverflow

Fred Grott Twitter

GWS UStream Channel

Fred Grott Vimeo

Fred Grott YouTube

License

Copyright (c) 2015 Fred Grott(GrottWorkShop)

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 andlimitations under the License.

About

viewmodel library for android java applicaiton development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages