I am trying to do something like this. or templating like in html but I could not find good documentation, maybe I searched wrong. I am also open for template suggestion.
Currently what I have is this
package com.mydomain.myapp
import android.annotation.SuppressLint;
import android.app.AlertDialog;
Instead of this I would like to get the package name from strings or elsewhere where I keep the other constants.
package "myStringValue"
import android.annotation.SuppressLint;
import android.app.AlertDialog
Does anyone know how to achieve this? I have tried many methods but I am actually very unfamiliar to Java/Android Studio. Many thanks
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742354605a4428182.html
评论列表(0条)