It isn't.  I changed it to reference the items loaded into the adapter, rather than the library itself.  It's a small change, but will avoid some hilarious bugs in the future.