package Ġeu . kan ade . t ach iy omi . data . database Ċ Ċ import Ġandroidx . sqlite . db . Support SQLite Open Helper Ċ import Ġcom . pus ht o refresh . stor io . sqlite . impl . Default St or IO SQLite Ċ import Ġeu . kan ade . t ach iy omi . data . database . map pers . An ime Category Type Mapping Ċ import Ġeu . kan ade . t ach iy omi . data . database . map pers . An ime History Type Mapping Ċ import Ġeu . kan ade . t ach iy omi . data . database . map pers . An ime Track Type Mapping Ċ import Ġeu . kan ade . t ach iy omi . data . database . map pers . An ime Type Mapping Ċ import Ġeu . kan ade . t ach iy omi . data . database . map pers . Category Type Mapping Ċ import Ġeu . kan ade . t ach iy omi . data . database . map pers . Episode Type Mapping Ċ import Ġeu . kan ade . t ach iy omi . data . database . models . An ime Ċ import Ġeu . kan ade . t ach iy omi . data . database . models . An ime Category Ċ import Ġeu . kan ade . t ach iy omi . data . database . models . An ime History Ċ import Ġeu . kan ade . t ach iy omi . data . database . models . An ime Track Ċ import Ġeu . kan ade . t ach iy omi . data . database . models . Category Ċ import Ġeu . kan ade . t ach iy omi . data . database . models . Episode Ċ import Ġeu . kan ade . t ach iy omi . data . database . queries . An ime Category Queries Ċ import Ġeu . kan ade . t ach iy omi . data . database . queries . An ime Queries Ċ import Ġeu . kan ade . t ach iy omi . data . database . queries . An ime Track Queries Ċ import Ġeu . kan ade . t ach iy omi . data . database . queries . Category Queries Ċ import Ġeu . kan ade . t ach iy omi . data . database . queries . Episode Queries Ċ Ċ /** Ċ Ġ* ĠThis Ġclass Ġprovides Ġoperations Ġto Ġmanage Ġthe Ġdatabase Ġthrough Ġits Ġinterfaces . Ċ Ġ*/ Ċ class ĠAn ime Database Helper ( ĊĠĠĠ Ġopen Helper : ĠSupport SQLite Open Helper , Ċ ) Ġ: ĊĠĠĠ ĠAn ime Queries , ĠEp isode Queries , ĠAn ime Track Queries , ĠCategory Queries , ĠAn ime Category Queries Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġdb Ġ= ĠDefault St or IO SQLite . builder () ĊĠĠĠĠĠĠĠ Ġ. sqlite Open Helper ( open Helper ) ĊĠĠĠĠĠĠĠ Ġ. add Type Mapping ( An ime :: class . java , ĠAn ime Type Mapping ()) ĊĠĠĠĠĠĠĠ Ġ. add Type Mapping ( Episode :: class . java , ĠEp isode Type Mapping ()) ĊĠĠĠĠĠĠĠ Ġ. add Type Mapping ( An ime Track :: class . java , ĠAn ime Track Type Mapping ()) ĊĠĠĠĠĠĠĠ Ġ. add Type Mapping ( Category :: class . java , ĠCategory Type Mapping ()) ĊĠĠĠĠĠĠĠ Ġ. add Type Mapping ( An ime Category :: class . java , ĠAn ime Category Type Mapping ()) ĊĠĠĠĠĠĠĠ Ġ. add Type Mapping ( An ime History :: class . java , ĠAn ime History Type Mapping ()) ĊĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠ Ġinline Ġfun Ġin Transaction ( block : Ġ() Ġ-> ĠUnit ) Ġ= Ġdb . in Transaction ( block ) Ċ } Ċ