f2prateek/dart

Need proper documentation

ckdevrel opened this issue · 7 comments

I am completely stuck up regarding the usage of dart and henson. I have copy-pasted following snippet in my code to navigate to another scren, but now am directionless to fixe the issue

Intent intent = Henson.with(this)
.gotoOneMoreActivityActivity()
.extra(new ParcelExample())
.build();

Error:

Error:(102, 33) error: cannot find symbol variable Henson

From where i have to import Henson class??

I am trying to start an activity from fragment using Henson.with(getActivity).gotoMyProfileActivity.build(). But its not working. Also I am not getting the usage of @HensonNavigable annotation and packaging concept setup in build.gradle like 'henson.package' something which was mentioned in the readme. Please clarify my queries. Really it is an amazing library, but documentation part is lagging since samples of github project is also not a studio project i guess.

Kudos. It worked after Build - Rebuild Project. Gradle build was the culprit. Before closing this issue, I hope this library will not affect startActivityResult(REQUEST_CODE) behaviour?.

I am planning to popularise this library by creating a blog in my https://takeoffandroid.com. Hope this will reach good number of target users soon. Thanks for creating such a library to reduce boiler plate codes for intent value creation.