I bought my first computer when I was in high school in around 2012 , it was Samsung netbook NP/NC-108, I was really excited about that, I had no idea what programming is, what exactly is linux OS or even Ubuntu. I have already familiar with windows OS and my shiny new computer was pre-installed with windows 7, I used my computer just to listen to music, playing some strategy and fun games, watching movies, finding new fun apps, playing/hacking with OS configuration/customization, and also I did graphics design (Photoshop & CorelDraw). I didn’t do anything special with my computer, because I was a dumb.
Apa itu MiniMax
Minimax merupakan suatu algoritma yang digunakan pada pembuatan keputusan dan game theory. khususnya zero-sum game yang dijalankan oleh dua pemain secara bergantian, algoritma ini mencoba untuk mencari langkah yang paling optimal untuk pemain untuk bisa memenangkan permainan, dengan asumsi bahwa lawan juga bermain secara optimal. contoh game ini seperti Tic-Tac-Toe, Backgamon, Catur dsb.
I’ve seen many people & friends implemented launch screen (splash screen) on their apps by creating a new activity that shows an image/brand or whatever is inside that launch screen, made it as a default launcher activity, used some codes to wait/delay (stay) on that launch screen activity for about 3 to 5 seconds, then brought you to the main screen/feature of that app.
I think it’s really weird to make user wait for nothing for that amount of time.
Todays post will show you how to make launch screen for android using a theme and won’t delay anything. Here how it looks like.
Untuk dapat memahami Context maka kita perlu mengetahui terlebih dahulu konteks secara umum kemudian relasinya terhadap class Context pada pemrograman aplikasi Android.
Konteks merupakan situasi atau kondisi yang berhubungan dengan suatu kejadian (keadaan) yang terjadi.
There are lots of suggestions in the internet on how to save & restore scroll position in android scrollable view, from saving the scroll (x, y) position in
onSaveInstanceState(Bundle outState) then restore it in
onRestoreInstanceState(Bundle savedInstanceState) and even creating a child class of
ScrollView to do this saving & restoring tasks, etc.
Actually it much simpler than I thought, we don’t need to do anything else to have the same behaviour, the framework (
RecyclerView) has done the job for us.
In this post I’m gonna create an circle avatar image custom view which is a subclass of circle image view, so before start reading this, make sure you’ve read and understand the post about Creating Custom Circle Image View.
This is how circle avatar image view looks like.
It can show either an image or initial character.
Welcome back, now I want to explain about how to create a parallax effect for ImageView when it’s being scrolled. Before we go any further let’s see how it’s gonna be.
Hello, this is my first post in english , todays post is about writing a custom android view, which is circle image view.
The end result of this custom view would be something like in the below figure: