Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

95
Visualizações
Is there a way to listen when Play Billing Library dialog was closed?

I need to make some actions after closing the Play Billing Library dialog, but I don't see any methods to do it. Any idead?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

As a variant, you can check whether it(play billing library dialog) is a separate activity or just a dialog. After the dialog is closed an appropriate callback method(onStart in case of activity) will be called in your activity/fragment.

over 4 years ago · Santiago Trujillo Relatório

0

If I have understood correctly, every time the billing flow is launched and afterwards the dialog is closed, you wanna run some code accordingly. if so, every time the dialog is closed, there is a reason. maybe it has been canceled by the user, an error occurred or maybe the purchase was complete and successful. In all of these cases the onPurchasesUpdated() is triggered with a specific BillingResponseCode which you can check and run your code accordingly. here is a list of all the possible response codes.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda