提交 634650b0 编写于 作者: S Sam Judd

Update FutureTarget documentation.

Fixes #142.
上级 42db20be
......@@ -6,13 +6,13 @@ import java.util.concurrent.Future;
/**
* An interface for an object that is both a {@link com.bumptech.glide.request.target.Target} and a
* {@link java.util.concurrent.Future}. Use as follows:
* {@link java.util.concurrent.Future}. For example:
* <pre>
* {@code
* FutureTarget<Bitmap> futureTarget = Glide.with(fragment)
* .load("http://goo.gl/1asf12")
* .asBitmap()
* .intoFuture(250, 250);
* .into(250, 250);
* Bitmap myBitmap = futureTarget.get();
* ... // do things with bitmap and then release when finished:
* Glide.clear(futureTarget);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册