次の方法で共有


ContentResolver.ExtraTotalCount Field

Definition

Added to Cursor extras Bundle to indicate total row count of recordset when paging is supported.

[Android.Runtime.Register("EXTRA_TOTAL_COUNT", ApiSince=26)]
public const string ExtraTotalCount;
[<Android.Runtime.Register("EXTRA_TOTAL_COUNT", ApiSince=26)>]
val mutable ExtraTotalCount : string

Field Value

Attributes

Remarks

Added to Cursor extras Bundle to indicate total row count of recordset when paging is supported. Providers must include this when implementing paging support.

A provider may return -1 that row count of the recordset is unknown.

Providers having returned -1 in a previous query are recommended to send content change notification once (if) full recordset size becomes known.

Java documentation for android.content.ContentResolver.EXTRA_TOTAL_COUNT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to