Skip to content

Instantly share code, notes, and snippets.

Fail psinetron

Block or report user

Report or block psinetron

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.