Git Product home page Git Product logo

kiwi's Introduction

Need to understand more about kotlin native and multiplatform projects to make a library in kotlin work

Kiwi

A pure Kotlin library with common code that can be used across projects

Warning

This a personal library, and is not intended to be used by others. The Api may change at anytime. Doesn't currently work.

Animations

A collection of entities and functions that make dealing animations simpler

Entities: Coordinate contains an x and y coordinate Rectangle a bounded rectangle that can be animated

Colors

A collection of entities and functions that make dealing with colors simpler

Entities: RgbColor HexColor

Extensions

A collection of functions that are named in an appropriate manner that allows them to be used from simply looking at a classes autocomplete.

Logging

Classes to simplify exceptions and logging. This package needs a lot of work.

Platform

To follow a use case driven, multi-module architecture or to use multi platform projects, the common/usecase module must have access to pure kotlin interfaces of platform implementations. For example, Toasts are a platform detail and the common module can not know toasts exist, so to display a toast the common module must call an interface. This interface has an implementation in an android module and the the hook-up is achieved via dependency injection.

Platform interfaces include: Announcer Toasts, Snackbars, Alert dialogs. Analytics Send events and exceptions to analytics. ResourceProvider For example, Strings TimeWrapper Common time behaviour

kiwi's People

Contributors

enyciaa avatar

Watchers

 avatar  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.