How to use CALLER_IS_SYNCADAPTER properly

前端 未结 3 668
余生分开走
余生分开走 2021-01-20 18:13

somehow I don\'t understand the working concept of the query parameter CALLER_IS_SYNCADAPTER. Its default value is false, if set, the DIRTY flag is not automatically set. So

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-20 19:10

    You can add to your existing Uri:

    myUri=calendarUri.buildUpon().appendQueryParameter(Calendar.CALLER_IS_SYNCADAPTER, "true").build();
    

提交回复
热议问题