You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Further imagine that Foo and Fooable are in separate foo.jar and fooable.jar files, and we attempt to bind only foo.jar.
Should this work?
Offhand, I can't think of any reason why it shouldn't be supportable.
Does this work? No. As a specific example, consider recyclerview-v7-28.0.0-beta01.aar: android.support.v7.widget.RecyclerView is a non-abstract type which implements the interface android.support.v4.view.ScrollingView, which cannot be resolved (as it's in a different .jar file). The RecyclerView type is not bound.
The text was updated successfully, but these errors were encountered:
Non-abstractFoo and resolvable Fooable: This is what we currently require.
That said, Fooable need not be a public type! If it's a Kotlin internal type or a Java "package-private" type, then Fooableshould not be bound. Foo still needs to declare all of the methods from Fooable.
Non-abstractFoo and unresolvable Fooable: We don't need to resolve Fooable, and can skip it. The binding for Foo will mirror Foo.
abstractFoo and resolvable Fooable: We need to"re-declare" all of Fooables methods into the binding of Foo, just as we normally do. That said, Fooable need not be a public type! If it's a Kotlin internal type or a Java "package-private" type, then Fooableshould not be bound. Foo still needs to declare all of the methods from Fooable.
abstractFoo and unresolvable Fooable: This is an error. See: #371 (comment)
Context:
#358 (comment)
Imagine the following:
Further imagine that
Foo
andFooable
are in separatefoo.jar
andfooable.jar
files, and we attempt to bind onlyfoo.jar
.Should this work?
Offhand, I can't think of any reason why it shouldn't be supportable.
Does this work? No. As a specific example, consider
recyclerview-v7-28.0.0-beta01.aar
:android.support.v7.widget.RecyclerView
is a non-abstract
type which implements the interfaceandroid.support.v4.view.ScrollingView
, which cannot be resolved (as it's in a different.jar
file). TheRecyclerView
type is not bound.The text was updated successfully, but these errors were encountered: