All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.andromedaioc.resource.loader.StringResourceLoader Maven / Gradle / Ivy

The newest version!
package net.sf.andromedaioc.resource.loader;

import android.content.Context;
import net.sf.andromedaioc.resource.ResourceIdentifier;

public class StringResourceLoader extends AbstractAndroidResourceLoader {

    public StringResourceLoader(Context context) {
        super(context);
    }

    public Object loadResource(ResourceIdentifier resourceIdentifier) {
        return getContext().getResources().getString(resourceIdentifier.getId());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy