ivano
01/11/2020, 9:15 PMgetRecipes
in a lambda?Mark Murphy
01/11/2020, 9:35 PMonSuccess()
and onError()
.
If this is your repository, you could change getRecipes()
to take your query
and a pair of function types, and then you could use lambda expressions for supplying those function types.ivano
01/11/2020, 9:54 PM