android - Change language problems with recycleView -


i have problem (left bar) "android.support.v7.widget.recyclerview" when try change text, lateral not responding, think not load correctly.

only exist activity, rest fragments, in activity have "left bar"

@override     public viewholder oncreateviewholder(viewgroup parent, int viewtype) {     change text programatically     @override     public void onbindviewholder(viewholder holder, int position) {     change text programatically 

i try change text, not work , think not called, because activity called first time

i have control of fragment called "fragmentreutil2" have begintransaction. method put loadlanguage , .setadapter(again)

note:

  • (onresume) call 1 time (firsttime)

  • my method call every times transition fragments. fragmentreutil2

  • all fragment works correctly without left bar

i'm still not quite sure you're asking, think problem you're not calling 1 of following after you've changed data reflected on ui.

there's multiple other methods can use inform adapter of data changes, removals , additions, check api documentation


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -