Back to project page DistributedMemory.
The source code is released under:
Apache License
If you think the Android project DistributedMemory 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 org.faudroids.distributedmemory.core; /* w w w. j a va 2 s .c o m*/ import android.content.Context; import org.faudroids.distributedmemory.R; import javax.inject.Named; import dagger.Module; import dagger.Provides; @Module( complete = false, library = true, injects = { ClientGameManager.class, HostGameManager.class } ) public final class CoreModule { @Provides @Named(HostGameManager.TOTAL_CARD_IMAGES) public int provideTotalImagesCount(Context context) { return context.getResources().getInteger(R.integer.card_images_count); } }