Kotlin Sample
See original GitHub issueI’ve tried using this project on a kotlin Android application but could not make it work with the reflection free configuration. I tried:
kapt {
generateStubs = true
arguments {
arg("toothpick_registry_package_name", "myproject.package")
arg("toothpick_registry_children_package_names", "toothpick.smoothie")
}
}
and
dependencies {
// ...
kapt 'com.github.stephanenicolas.toothpick:toothpick-compiler:1.0.6'
compile "com.github.stephanenicolas.toothpick:toothpick-runtime:1.0.6"
compile "com.github.stephanenicolas.toothpick:smoothie:1.0.6"
}
But the processor is not generating classes for the reflection free configuration.
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Kotlin Examples | Programiz
This page contains examples of basic concepts of Python programming like loops, functions, ... The best way to learn Kotlin is by practicing...
Read more >Kotlin Examples - W3Schools
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, PHP, Python,...
Read more >Samples - Kotlin
Sample name What's shared? iOS integrat...
Kotlin Multiplatform Mobile Sample Algorithms Xcode build...
KMM RSS Reader Models, Networking, Data Storage, UI State Xcode build...
kmm‑ktor‑sample Networking...
Read more >Kotlin Tutorial for Beginners (Examples) - Guru99
In this Kotlin Tutorial for beginners, you will learn Kotlin programming language basics: What is Kotlin? History of Kotlin; Reasons of why ...
Read more >Various examples for Kotlin - GitHub
https://github.com/Kotlin/kmm-integration-sample - This is a sample project for the "Make your Android application work on iOS" tutorial. Master branch contains ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@stephanenicolas sure!
In this part of the wiki you have:
I’ll add something like:
Also, in order to enhance the documentation, I think there should be some more pages to the wiki:
Perhaps it is only a matter of creating a README in those submodules’ roots. I could propose some initial content in a PR if you agree that this is a good direction.
I think a gh-pages with JavaDoc hosting and some other goodies would greatly enhance the experience of getting acquainted with the project.
Well, it worked \o/
My configuration was perfectly right from the beginning. The issue was that I had no classes annotated with either
@Inject
nor anything. So the processor was not being called upon. I think it is worth mentioning this in the README or in the wiki.