package Ġcom . so yle . stories . project . project List . present ers Ċ Ċ import Ġcom . so yle . stories . project . close Project . Close Project Request Receiver Ċ import Ġcom . so yle . stories . project . close Project . Closed Project Receiver Ċ import Ġcom . so yle . stories . project . project List . Project ListView Ċ import Ġcom . so yle . stories . project . project List . Project ViewModel Ċ import Ġcom . so yle . stories . workspace . use cases . close Project . Close Project Ċ import Ġcom . so yle . stories . workspace . use cases . request Close Project . Request Close Project Ċ Ċ internal Ġclass ĠClose Project Presenter ( ĊĠĠĠ Ġprivate Ġval Ġview : ĠProject ListView Ċ ) Ġ: ĠClosed Project Receiver , ĠClose Project Request Receiver Ġ{ ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġreceive Closed Project ( closed Project : ĠClose Project . Response Model ) Ġ{ ĊĠĠĠĠĠĠĠ Ġview . update Or Invalid ated Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġopen Project List Ġ= Ġopen Projects . filter Not Ġ{ Ġit . projectId Ġ== Ġclosed Project . projectId Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcopy ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġis Welcome Screen Visible Ġ= Ġopen Project List . isEmpty (), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġopen Projects Ġ= Ġopen Project List , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġclose Project Request Ġ= Ġnull ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġreceive Close Project Request ( event : ĠRequest Close Project . Response Model ) Ġ{ ĊĠĠĠĠĠĠĠ Ġview . update Or Invalid ated Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcopy ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġclose Project Request Ġ= ĠProject ViewModel ( event . projectId , Ġevent . projectName ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ Ċ }