package Ġcom . github . jay deep w . pokemon directory . models . datasource . mock Ċ Ċ import Ġcom . github . jay deep w . pokemon directory . contracts . Main Contract Interface Ċ import Ġcom . github . jay deep w . pokemon directory . models . dat acl asses . Page Ċ import Ġcom . github . jay deep w . pokemon directory . models . dat acl asses . Pokemon Ċ import Ġcom . github . jay deep w . pokemon directory . models . datasource . P ok em ons Source Callback Ċ Ċ class ĠMain Mock Model : ĠMain Contract Interface . Model Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠgetData ( callback : ĠPok em ons Source Callback ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġpage Ġ= ĠPage () ĊĠĠĠĠĠĠĠ Ġval Ġpokemon 1 Ġ= ĠPokemon () ĊĠĠĠĠĠĠĠ Ġval Ġpokemon 2 Ġ= ĠPokemon () ĊĠĠĠĠĠĠĠ Ġpage . results Ġ= ĠArrayList () ĊĠĠĠĠĠĠĠ Ġpage . results ?. plus ( pokemon 1 ) ĊĠĠĠĠĠĠĠ Ġpage . results ?. plus ( pokemon 2 ) ĊĠĠĠĠĠĠĠ Ġcallback . on Success ( page ) ĊĠĠĠ Ġ} Ċ Ċ }