package Ġcom . say zen . camp fire sdk . screens . f andom s Ċ Ċ import Ġandroid . view . View Ċ import Ġandroid . widget . ImageView Ċ import Ġandroid . widget . TextView Ċ import Ġcom . d zen . camp fire . api . API _ RESOURCES Ċ import Ġcom . d zen . camp fire . api . API _ TRANSL ATE Ċ import Ġcom . say zen . camp fire sdk . Build Config Ċ import Ġcom . say zen . camp fire sdk . R Ċ import Ġcom . say zen . camp fire sdk . controllers . Controller Api Ċ import Ġcom . say zen . camp fire sdk . controllers . t Ċ import Ġcom . say zen . camp fire sdk . models . events . project . Event ApiVersion Changed Ċ import Ġcom . say zen . dev sup android google . Tools In App Updates Ċ import Ġcom . say zen . dev sup android google . events . Event In App Updates Changed Ċ import Ġcom . sup . dev . android . app . Sup Android Ċ import Ġcom . sup . dev . android . libs . image _ loader . Image Loader Ċ import Ġcom . sup . dev . android . tools . Tools Intent Ċ import Ġcom . sup . dev . android . tools . Tools Resources Ċ import Ġcom . sup . dev . android . views . cards . Card Ċ import Ġcom . sup . dev . java . libs . event Bus . EventBus Ċ Ċ class ĠCard Update Ġ: ĠCard ( R . layout . screen _ f andom _ card _ update ) Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġevent Bus Ġ= ĠEvent Bus ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. subscribe ( Event ApiVersion Changed :: class ) Ġ{ Ġupdate () Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. subscribe ( Event In App Updates Changed :: class ) Ġ{ Ġupdate () Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġbind View ( view : ĠView ) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . bind View ( view ) ĊĊĠĠĠĠĠĠĠ Ġval Ġv Container : View Ġ= Ġview . findViewById ( R . id . v Container ) ĊĠĠĠĠĠĠĠ Ġval Ġv Update : ĠTextView Ġ= Ġview . findViewById ( R . id . v Update ) ĊĠĠĠĠĠĠĠ Ġval Ġv Image : ĠImageView Ġ= Ġview . findViewById ( R . id . v Image ) ĊĠĠĠĠĠĠĠ Ġval Ġv Intro Update : ĠTextView Ġ= Ġview . findViewById ( R . id . v Intro Update ) ĊĠĠĠĠĠĠĠ Ġval Ġv Intro Update Sub : ĠTextView Ġ= Ġview . findViewById ( R . id . v Intro Update Sub ) ĊĊĠĠĠĠĠĠĠ Ġv Intro Update . text Ġ= Ġt ( API _ TRANSL ATE . intro _ update ) ĊĠĠĠĠĠĠĠ Ġv Intro Update Sub . text Ġ= Ġt ( API _ TRANSL ATE . intro _ update _ sub ) ĊĠĠĠĠĠĠĠ Ġv Update . text Ġ= Ġt ( API _ TRANSL ATE . app _ update ) ĊĊĠĠĠĠĠĠĠ Ġv Container . visibility Ġ= Ġif Ġ( Controller Api . is Old Version ()) ĠView . VISIBLE Ġelse ĠView . GONE ĊĊĠĠĠĠĠĠĠ ĠImage Loader . load ( API _ RESOURCES . IMAGE _ BACKGROUND _ LEVEL _ 9 ). no Holder (). into ( v Image ) ĊĠĠĠĠĠĠĠ Ġv Update . setOnClickListener Ġ{ ĠTools Intent . start Play Market ( Sup Android . appId ) Ġ} ĊĊĠĠĠĠĠĠĠ Ġwhen Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠTools In App Updates . is None () Ġ-> Ġv Update . text Ġ= Ġt ( API _ TRANSL ATE . app _ checking ) Ġ+ Ġ" ..." ĊĠĠĠĠĠĠĠĠĠĠĠ ĠTools In App Updates . isNot Available () Ġ-> Ġv Update . text Ġ= Ġt ( API _ TRANSL ATE . app _ not _ available _ yet ) Ġ+ Ġ" ..." ĊĠĠĠĠĠĠĠĠĠĠĠ ĠTools In App Updates . is Available () Ġ-> Ġv Update . text Ġ= Ġt ( API _ TRANSL ATE . app _ update ) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠTools In App Updates . is Api Not Available () Ġ-> Ġv Update . text Ġ= Ġt ( API _ TRANSL ATE . app _ update ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġif Ġ( Controller Api . is Old Version ()){ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠTools In App Updates . start () ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠ Ġ} Ċ Ċ } Ċ