Code Monkey home page Code Monkey logo

kokain's People

Contributors

mpradzin avatar sbra0902 avatar sden1403 avatar x3btel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

kokain's Issues

possibility to inject into type of interface

In some usecases it would be useful if there's no need to know the exact implementing class of a Bean. Therefore the possibility to inject the implementation into a property of the type of an interface would be useful
example:

Printer -> PrinterImpl, MobilePrinterImpl

Implementation Idea:

1.) New Annotation called @EInterface(Class<*>) this class can be a EBean or a Mapper
2.) Provide Mapper Interface which have a fun map(Class) : Class
3.) In that Interface implementation the Interface type could be mapped to the exact implementation by the requirements

Make possible injection of ViewModel

For now, there is no way to inject ViewModel along with ViewModelProvider, it would be nice to have ktx extension named like by viewmodel() in order to have a fully injected ViewModel lifecycle.

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.