long function ( Uri arg0 ) { String loc0 = arg0 . getLastPathSegment ( ) ; return loc0 == null ? - 1 : Long . parseLong ( loc0 ) ; }
converts the last path segment to a long . this supports a common convention for content uris where an id is stored in the last segment . concode_field_sep PlaceHolder placeHolder concode_field_sep Uri.Builder appendId concode_elem_sep Uri withAppendedId