Join Slack
Powered by
can I self reference in the let block?
# android
n
nmthompson
10/23/2018, 3:07 PM
can I self reference in the let block?
h
hmole
10/23/2018, 3:08 PM
dataList ?.let(::MyRecyclerAdapter) ?.run(recycler_view::setAdapter)
n
nmthompson
10/23/2018, 3:09 PM
okay i was using the run initially, i didn't know if that was too heavy handed for a simple assignment
nmthompson
10/23/2018, 3:09 PM
thanks!
Open in Slack
Previous
Next