android - Why does TextView.setText() warn you not to concatenate strings? -


if this

sometextview.settext(somestring + " , more!"); 

it warns me "do not concatenate text displayed settext. use resource string placeholders."

why warn when string concatenation seems work fine?

it's better use resource strings thinking localization


Comments

Popular posts from this blog

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - SSE Emitter : Manage timeouts and complete() -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -