Recent

Author Topic: Http Get with thread  (Read 248 times)

juank1971

  • Jr. Member
  • **
  • Posts: 54
Http Get with thread
« on: September 04, 2020, 04:36:52 pm »
I would like to fill a listbox with a list obtained from a remote server rest server but using threads they can guide me

juank1971

  • Jr. Member
  • **
  • Posts: 54
Re: Http Get with thread
« Reply #1 on: September 04, 2020, 05:15:00 pm »
Or not necesary in jhttpclient ?

jmpessoa

  • Hero Member
  • *****
  • Posts: 1608
Re: Http Get with thread
« Reply #2 on: September 04, 2020, 07:56:50 pm »

Quote
Or not necesary in jhttpclient ?

jHttpClient has "GetAsync"   method..... so, you can fill  the listbox  handling the event....
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

juank1971

  • Jr. Member
  • **
  • Posts: 54
Re: Http Get with thread
« Reply #3 on: September 05, 2020, 01:44:15 am »
Ok thanks

 

TinyPortal © 2005-2018