Hi there, I have a problem injecting a class which...
# popkorn
r
Hi there, I have a problem injecting a class which inherits from abstract class with generic parameters
I have created a test project where I demonstrate what I want to achive https://github.com/RudolfHladik/popkorn-test @Pcorbella should I create issue on GH?
p
After watching your project, you have to add @Exclude to this abstract class (Controller<>)
That’s because you don’t want to inject using this abstract class
(as I’ve seen in MainActivity)
like this:
r
problem is the abstract class is not under my control 😕
I mean not in this example case but in my real project
@Pcorbella do you have any other solution ? 🙏
p
Yes, you can instead add Propagation.NONE just next to BY_USE
r
oh, great thank you very much