Skip to content

Instantly share code, notes, and snippets.

@Morfly
Last active February 20, 2022 22:29
Embed
What would you like to do?
package io.morfly.bfa;
import android.content.Context;
public class MyFeatureWithRes {
public String getInfo(Context context) {
return context.getString(R.string.my_feature_info);
}
}
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="my_feature_info">🥞 My feature with resources</string>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment