Observable < Void > function ( final Page < Center > arg0 ) { AsyncTask . THREAD_POOL_EXECUTOR . execute ( new Runnable ( ) { @ Override public void run ( ) { for ( Center loc0 : arg0 . getPageItems ( ) ) { loc0 . save ( ) ; } } } ) ; return null ; }
saving centers in database using dbflow . save method save the value reference to primary key if its exist the update if not the insert . concode_field_sep PlaceHolder placeHolder concode_field_sep Observable<Page<Center>> readAllCenters