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

您可能感興趣的試卷

你可能感興趣的試題

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

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

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

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

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

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

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

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.單項(xiàng)選擇題百度地圖//可選,默認(rèn)gcj02,設(shè)置返回的定位結(jié)果坐標(biāo)系,如果配合百度地圖使用,建議設(shè)置為bd09ll()。

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