Gökhan Barış Aker
Gökhan Barış Aker
Try removing "VFCompletionBlock.h" from pch file. Then clean and build project (you should ignore compiler errors for now). Now the pre-compiled file removed, you can easily add "VFCompletionBlock.h" to pch...
If the view did not go through layout phase yet (which is common with onBindViewHolder), there won't be a measured dimension. To solve this, you need to add a listener...
This issue can also be extended for `GIT_SHA` variable that is added to `buildConfigField`. Seems like both (`archivesBaseName` & `GIT_SHA`) variables are not being used in the project.
Awesome trick, thanks :+1:
Thanks. I assumed it will be within transformation section, my mistake. ^^
Full stack trace for NoSuchFieldException, that @julienbanse mentioned. ``` 08-14 14:58:28.619 7362-7429/com.markavip.app E/AndroidRuntime﹕ FATAL EXCEPTION: pool-1-thread-1 Process: com.markavip.app, PID: 7362 java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread. at rx.internal.schedulers.ScheduledAction.run(SourceFile:62) at...
Is it possible for you to provide samples? e.g., the source code or article that made you ask this question.
I solved that by returning a Subscription(direct copy from RxJava) which UseCase implements. e.g., ``` Subscription subscription = UseCaseHandler.execute(doFoo, ...); ``` ~~where `UseCaseHandler.execute()` returns `UseCase` itself internally.~~ Don't do that...
@flipper83 isn't it risky to trust object to be garbage collected from memory to unsubscribe from callbacks? and most likely leak-prune
For `todo-mvp-clean`, it can be implemented as `ListenConnectivity` UseCase. The problem with that would be receiving continuous updates from UseCase. We can solve this with this pull request https://github.com/googlesamples/android-architecture/pull/183