GithubHelp home page GithubHelp logo

home's Introduction

Home ๐Ÿถ

Home is a small application that lets you search for dogs by breed, and click a dog to see some details about it.

Project Details โš™๏ธ

  • 100% Kotlin
  • Modern architecture (Multi-module setup, MVI, Single-Activity, Compose, Hilt)
  • Gradle convention plugins
  • The Square buffet

How Do I Navigate This Project?

Home relies on Gradle Convention Plugins to make it easy to add new modules. You can start in the build-logic module to see how this works.

The core-common module has some shared functionality that can be used across the app, core-model is where the domain models live, core-network is where all the Remote data plumbing lives.

library-data is where you'll see some work being done. The BreedRemoteSource lives there, which you can use to perform network requests.

library-analytics is where analytics wrappers live. Currently, only Timber is added to this project.

feature-list is a UI module. It has the Search/List feature that you see when you first open the app, and its UI is written in XML.

feature-detail is a UI module. It has the detail view that you're taken to when you select a search result, and its UI is written fully in Jetpack Compose.

Future Plans / What Would I Do Differently? โณ

This is a live document, so these thoughts might change in the future.

  • I'd like to split the core-common module into smaller modules. Currently, logic inside it is separated by package, which is good enough at the moment, but can be worth revisiting in the future.
  • I'd like to explore making this app work offline
  • Add UI / Snapshot tests
  • Explore more complex UIs in Compose
  • Add animations for transitions from List to Detail
  • I should do some interactive rebasing to make the commit history look better since it's quite unorganized at the moment

Built With ๐Ÿ—

Acknowledgments & Inspiration

Some aspects of the code are inspired by open source community contributions and blog posts.

  • The tooling and build-logic is inspired by both this blog post and NowInAndroid
  • The core-network module takes inspiration from this library
  • The use of Dagger multibinding to wire up the library-analytics module is inspired by this blog post

License

 Copyright 2022 Adam Ahmed

 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.

home's People

Contributors

oheyadam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.