我有這樣的下面的代碼:變化的ImageView動態地從IndoorAtlas
public void futureResult()
{
FutureResult<FloorPlan> result = mIndoorAtlas.fetchFloorPlan(mFloorPlanId);
result.setCallback(new ResultCallback<FloorPlan>() {
@Override
public void onResult(final FloorPlan result) {
mFloorplan = result;
loadFloorPlanImage(result);
}
這:
public void loadFloorPlanImage(FloorPlan floorPlan) {
BitmapFactory.Options options = createBitmapOptions(floorPlan);
final FutureResult<Bitmap> result = mIndoorAtlas.fetchFloorPlanImage(floorPlan, options);
result.setCallback(new ResultCallback<Bitmap>() {
@Override
public void onResult(final Bitmap result) {
//updateImageViewInUIThread(result) <-------this is where im getting confused
}
我有一組圖像問題的ImageView與indooratlas的一個實例。
任何人都可以幫到我嗎?
你能解釋一下* imageview中'setimage'的問題是什麼? –
即時通訊使用indooratlas sdk。我想要的是直接從indooratlas服務器加載平面圖,並將其顯示到我的用戶界面中。在'updateimageinuithread' –
你有沒有實現一個名爲'updateImageViewInUIThread'的方法?我們即將對IndoorAtlas產品進行評估,並且我很好奇你是否能夠正常工作,以及您對SDK易於使用/與我們自己的POI數據點(辦公室/會議室位置)整合的想法。 – wottle