package Ġru . surf studio . standard . f _ feed Ċ Ċ import Ġru . surf studio . android . core . m vi . impl s . ui . reactor . Base Reactor Dependency Ċ import Ġru . surf studio . android . core . m vi . impl s . ui . reducer . Base Reducer Ċ import Ġru . surf studio . android . core . mvp . binding . rx . relation . mvp . State Ċ import Ġru . surf studio . android . d agger . scope . Per Screen Ċ import Ġru . surf studio . android . util k tx . k tx . text . EMPTY _ STRING Ċ import Ġjavax . inject . Inject Ċ Ċ internal Ġdata Ġclass ĠFeed State ( ĊĠĠĠĠĠĠĠ Ġval Ġmessage : ĠString Ġ= ĠEMPTY _ STRING Ċ ) Ċ Ċ /** Ċ Ġ* ĠState ĠH older Ġ[ Feed Fragment View ] Ċ Ġ*/ Ċ @ Per Screen Ċ internal Ġclass ĠFeed Screen State Holder Ġ@ Inject Ġconstructor ( Ċ ) Ġ: ĠState < Feed State >( Feed State ()) Ċ Ċ /** Ċ Ġ* ĠRed ucer Ġ[ Feed Fragment View ] Ċ Ġ*/ Ċ @ Per Screen Ċ internal Ġclass ĠFeed Reducer Ġ@ Inject Ġconstructor ( ĊĠĠĠĠĠĠĠ Ġdependency : ĠBase Reactor Dependency Ċ ) Ġ: ĠBase Reducer < Feed Event , ĠFeed State >( dependency ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġreduce ( state : ĠFeed State , Ġevent : ĠFeed Event ): ĠFeed State Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġwhen Ġ( event ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis ĠFeed Event . ShowDialog Result Ġ-> Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġstate . copy ( message Ġ= Ġevent . message ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelse Ġ-> Ġstate ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }