Hello, if I want to write a custom lint rule to ba...
# android
m
Hello, if I want to write a custom lint rule to ban calling function
states.accept()
and states is a
BehaviorRelay
, in all classes that extends
BaseViewModel
, how can I achieve something like this. I’ve written a the check using
visitMethodCall
but this only can check the function name and if it’s member of
BehaviorRelay
, the missing part is how to check if this function is being called in children’s of
BaseViewModel
😶 4
👍 2