What do you think to put another SpotsDialog constructor with Id Resource to take the parameter smaller when we create or setMessage besides be good practice ? I only to get pass strings directly.
Something so:
public SpotsDialog(Context context, int message) {
this(context);
this.message = context.getResources().getString(message);
}
What do you think to put another SpotsDialog constructor with Id Resource to take the parameter smaller when we create or setMessage besides be good practice ? I only to get pass strings directly.
Something so:
Thanks.