Skip to content

Instantly share code, notes, and snippets.

Fail psinetron

View GitHub Profile
View gist:cc87b90099f7775b417a9ddd9553046d
//Это объяви в самом верху активити
long seconds = 5000; // 5 секунд
Handler handler = new Handler();
//Это в onResume
handler.postDelayed(new Runnable() {
@Override
public void run() {
pb.setVisibility(View.VISIBLE);
handler.postDelayed(this,seconds)
You can’t perform that action at this time.