Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. Implement AsyncTask

Implement AsyncTask

Scheduled Pinned Locked Moved Android
androidquestion
3 Posts 3 Posters 14 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    paradox02
    wrote on last edited by
    #1

    Hi,
    In Android Studion ,

    why the methods are crossed out here ?
    because when I insert AsyncTask the methods don't work

    Select Methods to Override/Implement
    --android.os.AsyncTask
    --onPreExecute():void
    --doInBackround(params...):Result

    D 1 Reply Last reply
    0
    • P paradox02

      Hi,
      In Android Studion ,

      why the methods are crossed out here ?
      because when I insert AsyncTask the methods don't work

      Select Methods to Override/Implement
      --android.os.AsyncTask
      --onPreExecute():void
      --doInBackround(params...):Result

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Did you hover the mouse over them to see what the actual issue is? Could they be deprecated, used in the wrong context, or not inside of a try/catch block?

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

      J 1 Reply Last reply
      0
      • D David Crow

        Did you hover the mouse over them to see what the actual issue is? Could they be deprecated, used in the wrong context, or not inside of a try/catch block?

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

        J Offline
        J Offline
        James_Carter420
        wrote on last edited by
        #3

        Got it. Thanks

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups