Back to project page Jello.
The source code is released under:
Apache License
If you think the Android project Jello listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.atteo.jello.store; // www.j a va 2 s .c o m import android.util.PoolableManager; import com.google.inject.Inject; import com.google.inject.Injector; import com.google.inject.Singleton; @Singleton public class PagePoolableManager implements PoolableManager<Page> { private final Injector injector; @Inject public PagePoolableManager(final Injector injector) { this.injector = injector; } public Page newInstance() { return injector.getInstance(Page.class); } public void onAcquired(final Page element) { } public void onReleased(final Page element) { } }