Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
The CallbackToFutureAdapter documentation at :https://developer.android.com/reference/androidx/concurrent/futures/CallbackToFutureAdapter seems to be missing multiple important words/sentences.
A utility useful for adapting interfaces that take callbacks into interfaces that return .
--- I assume this is supposed to:that return ListenableFutures
?Try to avoid creating references from listeners on the returned Future to the or the passed-in tag object, as this will defeat the best-effort early failure detection based on garbage collection.
--- This line is either missing multiple words and/or poorly structured.on the returned Future to the
--- word missing here? Also what is thetag object
here? There are no other references totag
on this page which makes that sentence hard to follow imo.References to
Future
andListenableFuture
are used interchangably in the documentation, imo referring toListenableFuture
consistently would be better.