How to avoid multiple button click at same time in android?

前端 未结 12 2070
太阳男子
太阳男子 2020-12-02 09:05

I\'m using two button in view. While clicking two button simultaneously it will goes to different activity at a time. How to avoid this?

I have tried like this, But

12条回答
  •  北荒
    北荒 (楼主)
    2020-12-02 09:48

    You can try my tiny library, it provides what exactly you want using same approach as Shivanand' solution. https://github.com/RexLKW/SClick

提交回复
热议问题