Open ndarilek opened 8 years ago
Missing part is an implicit value of Registerable
:
implicit val reg = new Registerable {
def onRegister(body: => Any) = ???
def onRegister(body: => Any) = ???
}
You can easily write one for yourself when you refer the implementation for SActivity
.
Got it. Stupid question, but what should the ???
do? What steps
related to registering the connection from the fragment does the
Registerable need to accomplish?
I have code like:
But I get:
How do I make this custom Fragment a Registerable?
Thanks.