oday
10/17/2017, 9:33 AMthis
, do I just cast this
to that View when I need to use the view, and use this
as is when I want to refer to the context?menegatti
10/17/2017, 9:42 AMBooksActivityView
instead of a contextoday
10/17/2017, 9:42 AMmenegatti
10/17/2017, 9:42 AModay
10/17/2017, 9:42 AMmenegatti
10/17/2017, 9:42 AModay
10/17/2017, 9:43 AMmenegatti
10/17/2017, 9:43 AModay
10/17/2017, 9:43 AMmenegatti
10/17/2017, 9:43 AModay
10/17/2017, 9:43 AMmenegatti
10/17/2017, 9:44 AMgetBooks
to getBookes(view: BooksActivityView, context: Context)
so you don’t attach one to the otheroday
10/17/2017, 9:44 AMmenegatti
10/17/2017, 9:45 AModay
10/17/2017, 9:45 AMthis
and this
menegatti
10/17/2017, 9:45 AMDbHandler
which is class DbHandler(context: Context)
oday
10/17/2017, 9:46 AMmenegatti
10/17/2017, 9:47 AMDbHandler
depends onoday
10/17/2017, 9:48 AMmenegatti
10/17/2017, 9:48 AModay
10/17/2017, 9:56 AMdave08
10/18/2017, 2:49 AModay
10/18/2017, 10:08 AMdave08
10/18/2017, 10:08 AM