• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Issue so far is 2 days in that, i need reload fragment data after made refresh token using asynctask

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone i have a issue for me, i have class, that get data from json from webservice, i use so far asynctask in a anonymous class, if my token is ok that come without problem, but if return is access denied or in these case code 401 i call other class that call my webservice for refresh token and update token and after save to my shared preference, but the problem is, i dont know how to refresh data in my fragment, or just force reload my view, i need data update, but i can't do, if any one help me i appreciated .

first class




here i call refresh token

 
reply
    Bookmark Topic Watch Topic
  • New Topic