package Ġcom . example . android . polit ical prepared ness . application Ċ Ċ import Ġandroid . app . Application Ċ import Ġcom . example . android . polit ical prepared ness . database . E lection Dao Ċ import Ġcom . example . android . polit ical prepared ness . database . E lection Database Ċ import Ġtim ber . log . Tim ber Ċ Ċ class ĠMy Application : ĠApplication () Ġ{ ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar ĠdataSource : ĠE lection Dao ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate () ĊĊĠĠĠĠĠĠĠ ĠdataSource Ġ= ĠE lection Database . getInstance ( application Context ). election Dao ĊĊĠĠĠĠĠĠĠ ĠTim ber . plant ( Tim ber . Debug Tree ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget DataSource (): ĠE lection Dao Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠdataSource ĊĠĠĠ Ġ} ĊĊ Ċ }