Skip to content

Instantly share code, notes, and snippets.

@Morfly
Last active February 20, 2022 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Morfly/791310c35142b0a2aca2a93266678c17 to your computer and use it in GitHub Desktop.
Save Morfly/791310c35142b0a2aca2a93266678c17 to your computer and use it in GitHub Desktop.
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