Code example for Uri

Methods: getLastPathSegment

0
	protected void notifyProviderOnChange(final Context context) {
		notifyProviderOnChange(context, getUri());
	} 
 
	public void setId(final Uri uri) {
		_id = Long.parseLong(uri.getLastPathSegment());
	} 
 
	protected void beforeInsert(final Context context, final SQLiteDatabase db) {
 
	} 
 
	protected void afterInsert(final Context context, final SQLiteDatabase db) {
 
	} 
 
	protected void beforeUpdate(final Context context, final SQLiteDatabase db) {
 
	} 
 
	protected void afterUpdate(final Context context, final SQLiteDatabase db) {