您可能感興趣的試卷
你可能感興趣的試題
A.LocationClientOptionlocationOption=newLocationClientOptions();MyLocationListenermyLocationListener=newMyLocationListener();
B.LocationClientOptionlocationOption=newLocationClientOption();MyLocationListenermyLocationListener=newMyLocationListener();
C.LocationClientOptionlocationOption=newLocationClientOption();MyLocationListenermyLocationListener=newMyLocationListeners();
D.LocationClientOptionlocationOption=newLocationClientOption();MyLocationmyLocationListener=newMyLocationListener();
A.LocationClientlocationClient=newLocationClient(getfragmentContext())
B.LocationClientlocationClient=newLocationClient(getActiviytContext())
C.LocationClientlocationClient=newLocationClient(getContext())
D.LocationClientlocationClient=newLocationClient(getApplicationContext())
A.locationClient.registerLocationListener(myLocationListener);
B.locationClient.regsterLocationListener(myLocationListener);
C.locationClient.registerLocationListeners(myLocationListener);
D.locationClient.registerListener(myLocationListener);
A.locationOption.setLocationModes(LocationMode.Hight_Accuracy);
B.locationOption.setLocation(LocationMode.Hight_Accuracy);
C.locationOption.getLocationMode(LocationMode.Hight_Accuracy);
D.locationOption.setLocationMode(LocationMode.Hight_Accuracy);
最新試題
ViewModel的數(shù)據(jù)會在Android系統(tǒng)銷毀并重新創(chuàng)建activity時丟失。
在Room中,哪個注解用來定義更復雜的數(shù)據(jù)庫操作()
在WorkManager中,哪個方法用于設(shè)置WorkRequest的輸出數(shù)據(jù)()
以下哪個是AppViewModelProvider的作用()
在WorkManager中,哪個方法用于取消工作()
Room是Android架構(gòu)組件中的一部分提供哪種類型的檢查()
以下哪個不是Room提供的方法()
在WorkManager中,哪個方法用于設(shè)置工作的唯一性()
在ItemEntryViewModel中,哪個函數(shù)用于將商品插入到Room數(shù)據(jù)庫中()
在WorkManager中,哪個方法用于檢查工作是否已被取消()