sets the current host . concode_field_sep HostInfo currentHostInfo concode_elem_sep ArrayList<HostInfo> hosts concode_elem_sep HostManager instance concode_elem_sep Context context concode_elem_sep Picasso currentPicasso concode_elem_sep HostConnectionObserver currentHostConnectionObserver concode_elem_sep String TAG concode_elem_sep HostConnection currentHostConnection concode_field_sep HostConnection getConnection concode_elem_sep void releaseCurrentHost concode_elem_sep HostConnectionObserver getHostConnectionObserver concode_elem_sep HostInfo editHost concode_elem_sep HostInfo getHostInfo concode_elem_sep Picasso getPicasso concode_elem_sep HostManager getInstance concode_elem_sep void deleteHost concode_elem_sep HostInfo addHost concode_elem_sep HostInfo addHost concode_elem_sep ArrayList<HostInfo> getHosts concode_elem_sep ArrayList<HostInfo> getHosts
void function ( HostInfo arg0 ) { releaseCurrentHost ( ) ; currentHostInfo = arg0 ; if ( currentHostInfo != null ) { Settings loc0 = Settings . getInstance ( context ) ; loc0 . currentHostId = currentHostInfo . getId ( ) ; loc0 . save ( ) ; } }