【发布时间】:2015-04-30 03:03:48
【问题描述】:
我有以下代码:
void loadFloorPlanImage(FloorPlan floorPlan) {
BitmapFactory.Options options = createBitmapOptions(floorPlan);
FutureResult<Bitmap> result = ia.fetchFloorPlanImage(floorPlan, options);
result.setCallback(new ResultCallback<Bitmap>() {
@Override
public void onResult(final Bitmap result) {
// now you have floor plan bitmap, do something with it
updateImageViewInUiThread(result);
}
// handle error conditions
}
}
我感到困惑的是:
BitmapFactory.Options 选项 = createBitmapOptions(floorPlan);
我应该在“createBitmapOptions”中做什么?
【问题讨论】:
标签: android indoor-positioning-system