Skip to main content


Why use Snackbar instead of Toasts?

Open Event Android   Why use Snackbar instead
of Toasts? January 14, 2019 ProblemToasts are kind of deprecated as any user who has disabled notifications for an app won't be able to see
toast as well. The Open Event Android App was using toast for displaying information. So the task is
to completely remove toasts and use snackbar instead.


Why Snackbar? Snackbars provide lightweight feedback about an operation. They show a brief message
at the bottom of the screen on mobile and lower left on larger devices. Snackbars appear above
all other elements on screen and only one can be displayed at a time.They automatically
disappear after a timeout or after user interaction elsewhere on the screen, particularly after
interactions that summon a new surface or activity. Snackbars can be swiped off screen. The Difference Snackbar Contain a single line of text directly related to the operation performed.
Recent posts

Android Livedata and MutableLiveData

Open Event Android   Android Livedata and
MutableLiveData December 14, 2018 ProblemSuppose that we need to perform actions in light of changes in lifecycle status of Android Component. Some of the time you may wanna observe certain qualities being changed over the setup change. We all faced these problems somewhere down the road, trying a lot of different patterns MVP, MVVM, and others. But to implement these patterns is also a big problem for beginners. SolutionThe good news is that with theAndroid Architecture Component and more precisely with the
lifecycle LiveData andViewModel, we can easily overcome these problems. LiveData LiveData is an observable data holder. It is also alifecycle aware. Bylifecycle aware I mean,

What is Blockchain Technology?

Blockchain, initially Block chain, is a developing rundown of records called blocks, which are connected utilizing cryptography. Blockchains which are decipherable by people in general are broadly utilized by cryptocurencies. Private blockchains have been proposed for business utilize. Here, is a short story which will make you comfortable with the Blockchain Technology. Mario and Luigi Mario needs to send $100 to his brother, Luigi, because Luigi being Luigi, he got into some debts at the other end of the world. Mario walks into the bank and says “I’d like to send $100 to Luigi”. The Cashier says “Account card please”, “ID please”, ”signature” and “done”. In this centralized situation, the bank is the *central* expert over Mario's and Luigi's cash. Both Mario and Luigi trust the bank to exchange the sum, and trust the numbers appeared on their bank account statements. They trust the bank in-spite of the way that all the bank needs to do is change a number in a database. It&#…