Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about android-handlerthread

Read more about android-handlerthread

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - android-handlerthread

UI changes in a thread in android

I'm writing an android application that require me to hold the foreground of an Image Button for a second before changing it again. so I have written the code below (it worked on changing the colors o...
test-img

moustafa

java

android

android-studio

android-handler

android-handlerthread

Votes: 0

Answers: 1

Latest Answer

You can use View's postDelayed method: Runnable runnable = () -> { imageButton1.setForeground(AppCompatResources.getDrawable(this, R.color.teal_200)); imageButton2.setForeground(App...
test-img

Sergio

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved