is it possible to somehow hide overridden function...
# announcements
t
is it possible to somehow hide overridden functions from subclasses? My problem is that a method of my superclass has a name collision with
bindView
from the kotterknife library.
d
tschuchort: You could put
@Deprecated(level = HIDDEN)
on it.
But then you cannot call it yourself, either.
t
interesting. I better use the annotations though. Kotterknife simply doesnt work correctly
d
Actually, I misunderstood your problem. Not sure if this can be solved.
r
you can do
import com.package.Foo as Bar
to avoid name collisions with imports
👍 2
r
Yes, you can alias any import with new name