CammyKamal / TimerSample

Concept for this small project is to hide a view in Activity after Some Time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TimerSample

Concept for this small project is to hide a view in Activity after Some Time. This repository contains a project which helps to set up a Alarm in Kotlin and Alarm event is received using BroadcastReceiver. SharePreferences is used in the project. Using Sharepreferences value of a boolean is checked after every 2 seconds in MainActivity in order to hide a view. This project code can be used in applications where we want to hide Some views after some intervals like Hours, Days etc.

Android Components

  1. Alarm Manager
  2. BroadCast Receivers
  3. Handler

About

Concept for this small project is to hide a view in Activity after Some Time.


Languages

Language:Kotlin 100.0%