Giter Site home page Giter Site logo

serbelga / todometer-kmp Goto Github PK

View Code? Open in Web Editor NEW
494.0 5.0 33.0 42.92 MB

A meter to-do list built with Compose UI Multiplatform, Wear Compose, SQLDelight, Koin Multiplatform, Glance, ...

Home Page: https://play.google.com/store/apps/details?id=dev.sergiobelda.todometer

License: Apache License 2.0

Kotlin 99.86% Swift 0.14%
multiplatform android ktor desktop kotlin-multiplatform kotlin ios kmp glance wear-os

todometer-kmp's Introduction

Todometer Kotlin Multiplatform


✅ A meter to-do list built with Kotlin Multiplatform and Compose UI Multiplatform based on https://cassidoo.github.io/todometer/


Screenshots

Android

Material Design 3 Dynamic color

Glance App Widget - Material Design 3 Dynamic color

Desktop

./gradlew :app-desktop:run

iOS

Open app-ios/Todometer.xcodeproj in XCode or run it in Android Studio using Kotlin Multiplatform Mobile plugin.

Wear OS


Technologies

Android

Wear OS

Common

Images


License

   Copyright 2023 Sergio Belda

   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.

todometer-kmp's People

Contributors

alex009 avatar renovate[bot] avatar serbelga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

todometer-kmp's Issues

Project list

Show the list of projects in the modal bottom sheet

Project Detail Screen

A screen showing:

  • Information about a project (name, description, ...)
  • Its tasks
  • Progress
  • Delete -> Cascade deletion for tasks

[android] Light/Dark theme icon

System Dark Mode & System default theme System Light Mode & Dark theme System Light Mode & System default theme System Dark Mode & Light theme
Screenshot_20211115-140208__01.jpg Screenshot_20211115-140015__01.jpg Screenshot_20211115-135953__01.jpg Screenshot_20211115-135938__01.jpg

Add Tags

New Tag entity:

  • DAO
  • UseCases
  • Repository
  • UI: TagList, Add Tag, New field in Add Task, New item in TaskItem

Task Detail Screen

A screen showing:

  • Task information (title, description, tag, state, ...)
  • Navigate to project from task
    - Edit?

why usecase are using flow()

I want to thank you first,
then I hope you answer my question, it is a question, not an issue 😃

All ApiService methods are returning suspend functions
operator fun invoke(dadJoke: DadJoke, favored: Boolean): Flow<Boolean>
why are FavorDadJokeInteractor methods converted to flowOf ()
e.g

 override fun invoke(dadJoke: DadJoke, favored: Boolean): Flow<Boolean> {
        return flow {
            val updates = repository.favorDadJoke(
                id = dadJoke.id,
                favored = favored
            )
            emit(updates > 0)
        }
    }

what are the benefits of making all repo methods in kotlin flow,
where consuming suspend fun is easier than flow?
also combing two suspend funs is much easier to combine two flows to create new use cases.

I see this pattern I would like to know the secret behind 😎

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.