Return to Video

ContentProvider getType Solution - Developing Android Apps

  • 0:00 - 0:05
    WEATHER_WITH_LOCATION_AND_DATE 函数只能返回单行内容
  • 0:05 - 0:07
    因此我们为它提供 ITEM_TYPE
  • 0:07 - 0:10
    而 WEATHER_WITH_LOCATION 类型会返回多个项
  • 0:10 - 0:13
    因此它获得 CONTENT_TYPE 是一个目录
Title:
ContentProvider getType Solution - Developing Android Apps
Description:

more » « less
Video Language:
English
Team:
Udacity
Project:
UD853 - Developing Android Apps
Duration:
0:14

Chinese, Simplified subtitles

Revisions Compare revisions