Closed dbachelder closed 9 years ago
Shoot, we're probably not searching the parent classes at some point. Will investigate.
Here's the culprit: https://github.com/johncarl81/transfuse/blob/master/transfuse-core/src/main/java/org/androidtransfuse/analysis/astAnalyzer/AOPProxyAnalyzer.java#L70-L71
I'm trying to remember why I only wanted to support AOP proxies on the "top level" sub class. We should gracefully handle extensions.
This should do the trick: 74f1d27d255c5178c388767ad9d762e26d4a62fd
Looking back, AOP should only be applied on the Type level at the root class, methods are a different story though. Can you test @dbachelder?
@johncarl81 is this deployed to maven? If not, I might try to see if I can get https://jitpack.io/ working with transfuse... might be easier for testing snapshots than having to deploy them to maven all the time..
This seems fixed!
I have a base class with
@Observes
and@UIThread
annotations on a method. The observer is wired up in the generated component (a fragment delegate that inherits directly from the base class), but the call is not wrapped in aUIThreadMethodInterceptor
. The end result is that the method is called on whatever threadtrigger()
is called on.