package Ġcom . an p . ipt v management . manager Ċ Ċ import Ġandroid . app . Activity Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . Intent Ċ import Ġandroid . support . v 4 . app . Fragment Ċ import Ġcom . an p . commons . Constants Ċ import Ġcom . an p . commons . data . entities . Channel Ċ import Ġcom . an p . commons . helpers . Helper Player Ċ import Ġcom . an p . ipt v management . present ations . add channels list ep g . Add Channels List Activity Ċ import Ġcom . an p . ipt v management . present ations . ep g settings . E pg Settings Activity Ċ import Ġcom . an p . ipt v management . present ations . settings . Settings Activity ĊĊ Ċ object ĠNavigation Manager Ġ{ ĊĊĠ Ġfun Ġnavigate ToAdd Channel Activity ( context : ĠContext ){ ĊĠĠĠ Ġval Ġintent Ġ= ĠIntent ( context , ĠAdd Channels List Activity :: class . java ) ĊĠĠĠ Ġcontext . startActivity ( intent ) ĊĠ Ġ} ĊĊĠ Ġfun Ġnavigate To E pg Settings ( context : ĠContext ){ ĊĠĠĠ Ġval Ġintent Ġ= ĠIntent ( context , ĠE pg Settings Activity :: class . java ) ĊĠĠĠ Ġcontext . startActivity ( intent ) ĊĠ Ġ} ĊĊĠ Ġfun Ġnavigate To Settings ( context : ĠContext ){ ĊĠĠĠ Ġval Ġintent Ġ= ĠIntent ( context , ĠSettings Activity :: class . java ) ĊĠĠĠ Ġcontext . startActivity ( intent ) ĊĠ Ġ} ĊĊĠ Ġfun Ġopen Player ( activity : ĠFragment , Ġchannel : ĠChannel ) Ġ{ ĊĠĠĠ Ġactivity . startActivity For Result ( ĊĠĠĠĠĠĠĠ ĠHelper Player . open Player And Play ( channel , Ġactivity . activity ), ĊĠĠĠĠĠĠĠ ĠConstants . REQUEST _ CODE _ VL C ) ĊĠ Ġ} ĊĊĠ Ġfun Ġopen Player ( activity : ĠActivity , Ġchannel : ĠChannel ) Ġ{ ĊĠĠĠ Ġactivity . startActivity For Result ( ĊĠĠĠĠĠĠĠ ĠHelper Player . open Player And Play ( channel , Ġactivity ), ĊĠĠĠĠĠĠĠ ĠConstants . REQUEST _ CODE _ VL C ) ĊĠ Ġ} Ċ }