Giter Club home page Giter Club logo

archknife's Introduction

Hi there, I'm Alex! ๐Ÿ‘‹

I am a seasoned Lead Mobile Developer based in Melbourne, Australia, with over seven years of experience mastering both native (Android/iOS) and cross-platform frameworks like React-Native. I am passionate about crafting user-friendly, secure, and scalable mobile solutions that tackle real-world problems head-on.

  • ๐Ÿ”ญ I am currently working on the KMM library KSecureStorage and on a KMM project which will be released in Google Play Store and Apple App Store soon.

  • ๐ŸŒฑ In my free time I am currently learning SwiftUI and KMP

archknife's People

Contributors

alexandereggers avatar mordag avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

archknife's Issues

Misc object injection

Add new annotation to allow the injection of views and misc objects into the dependency graph. Like services and broadcast receiver, this injection will be quite manual for the dev. The only challenge for the lib implementation is to provide a way to get the ArchKnifeComponent and use the included inject(....) method.

Add support for dagger scopes

Scopes provide the user with a wider ability to structure the dependency graph. Currently ArchKnife provides no support for that - everything is scoped as Singleton (or no scope of course).

In order to provide this features, there are different steps required as well as several core library changes (to ArchKnife).

  • Extend each Provide(...) annotation to include a scope annotation class as member. By default it should use Singleton::class.
  • Add new annotation ProvideScope. This class has the member dependency. If null, it will use the AppComponent (Singleton scope) as dependency. This annotation can only be used on other annotations. Therefore the dev needs to create a scope annotation class which then will be used by the ArchKnife processor.
  • Add new processor that will create app component classes that will use the dependent member based on the dependency value. Each scope will be mapped against a certain component class.
  • The component processor needs to create the builder modules (activity, fragment, viewmodel, ...) based on the scope.
  • Renamed ArchKnifeComponent to AppComponent
  • Add new processor that is creating a static object that is holding the references for the components and provides options to retrieve the component instance and to clear a given one (simplify set it to null). The getter ensures to always return non-null objects.

Improve ProGuard usage

Currently Proguard is not well supported using this library. The dev needs to write a custom rule to get it working.

In order to fix that each relevant class should use the Keep annotation provided by Google. That is necessary for at least the component interface and the component builder interface.

TODO

  • Tweaking of processor implementation to include Keep annotation.

1.0 Release - TODO

  • Improve javadoc implementation.
  • Tweaking public documentation in the Readme file.

Logo Proposal

Greetings @Mordag ,
I would like to ask for your permission to propose logo/icon designs. Im a graphics designer and i would like to help your project regarding this issue. Hoping for your response and good luck to your project.
Thank You!

Best Regards,
-jbeguna04

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.