The question is:

There is an implemented ContentProvider, where such lines are added:

Upon receipt of the cursor:

cursor.setNotificationUri(getContext().getContentResolver(), CONTENT_URI); 

When updating data:

  getContext().getContentResolver().notifyChange(resultUri, null); 

In the MainActivity there is a creation of the CursorLoader

 return new CursorLoader(this, Provider.CONTENT_URI, null, null, null, null); 

Now it turns out when changing data on CONTENT_URI CursorLoader will restart?

  • seems to be true. what prevents to check? - tse

0