填空題RxJava1.0和RxJava2.0的核心思想都是()模式。

您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題百度地圖//聲明LocationClient類實例并配置定位參數(shù)()。

A.LocationClientOptionlocationOption=newLocationClientOptions();MyLocationListenermyLocationListener=newMyLocationListener();
B.LocationClientOptionlocationOption=newLocationClientOption();MyLocationListenermyLocationListener=newMyLocationListener();
C.LocationClientOptionlocationOption=newLocationClientOption();MyLocationListenermyLocationListener=newMyLocationListeners();
D.LocationClientOptionlocationOption=newLocationClientOption();MyLocationmyLocationListener=newMyLocationListener();

2.單項選擇題百度地圖//定位服務的客戶端。宿主程序在客戶端聲明此類,并調(diào)用,目前只支持在主線程中啟動()。

A.LocationClientlocationClient=newLocationClient(getfragmentContext())
B.LocationClientlocationClient=newLocationClient(getActiviytContext())
C.LocationClientlocationClient=newLocationClient(getContext())
D.LocationClientlocationClient=newLocationClient(getApplicationContext())

3.單項選擇題百度地圖//注冊監(jiān)聽函數(shù)()。

A.locationClient.registerLocationListener(myLocationListener);
B.locationClient.regsterLocationListener(myLocationListener);
C.locationClient.registerLocationListeners(myLocationListener);
D.locationClient.registerListener(myLocationListener);

4.單項選擇題百度地圖//可選,默認高精度,設置定位模式,高精度,低功耗,僅設備()。

A.locationOption.setLocationModes(LocationMode.Hight_Accuracy);
B.locationOption.setLocation(LocationMode.Hight_Accuracy);
C.locationOption.getLocationMode(LocationMode.Hight_Accuracy);
D.locationOption.setLocationMode(LocationMode.Hight_Accuracy);

5.單項選擇題百度地圖//可選,默認gcj02,設置返回的定位結果坐標系,如果配合百度地圖使用,建議設置為bd09ll()。

A.locationOption.setCoorType(“gcj02”);
B.locationOption.setCorType(“gcj02”);
C.locationOption.setCoorTypes(“gcj02”);
D.locationOption.getCoorType(“gcj02”);