Beispiel #1
0
 @Override
 public void handleMessage(Message msg) {
   switch (msg.what) {
     case MSG_LOAD:
       String fso = (String) msg.obj;
       Bitmap d = loadDrawable(fso);
       if (d != null) {
         LoadResult result = new LoadResult();
         result.fso = fso;
         result.result = d;
         mHandler.obtainMessage(MSG_LOADED, result).sendToTarget();
       }
       break;
   }
 }