void function ( final String arg0 ) { if ( arg0 != null && arg0 . length ( ) > 0 ) { final List < String > loc0 = new ArrayList < > ( Arrays . asList ( loc0 ( ) ) ) ; loc0 . add ( arg0 ) ; preferences_ . edit ( ) . putString ( CONNECTIONS_PREFERENCE , join ( loc0 , DELIMITER ) ) . apply ( ) ; } }
adds a connection to the local store . concode_field_sep String LOCATION_PREFERENCE concode_elem_sep SharedPreferences preferences_ concode_elem_sep String CONNECTIONS_PREFERENCE concode_elem_sep String PREFERENCES concode_elem_sep String DELIMITER concode_elem_sep String EVENTS_PREFERENCE concode_field_sep List<Event> eventsList concode_elem_sep boolean isEmptyConnections concode_elem_sep void clear concode_elem_sep void removeEvents concode_elem_sep String joinEvents concode_elem_sep String getPreference concode_elem_sep void addEvent concode_elem_sep void addEvent concode_elem_sep void removeConnection concode_elem_sep void setLocation concode_elem_sep String getAndRemoveLocation concode_elem_sep String join concode_elem_sep void setPreference concode_elem_sep String[] connections concode_elem_sep String[] events