I was reading about git command rebase x merge because I was trying to figure out new better ways to work with these commands and I found an email from Linus Torvald where he is commenting about it. In this email, Linus Torvald says: You must never EVER destroy other peoples history. You must not … Continue lendo Git Rebase…be careful
Autor: Tássio Auad
SOLID – Focusing on Abstraction
I think I've never written about SOLID Principles here, in my blog. So, I will do it trying to be simple, and focusing on abstractions. Single Responsibility Simple, a classe must have only one responsibility. A classe or interface must be cohesive. DIP - Dependence Inversion Principle Each modifications in a class is propagated to … Continue lendo SOLID – Focusing on Abstraction
Can not perform this action after onSaveInstanceState
I've faced this problem sometimes but I've never written about it. It's very interesting because it proves that the Android avoid at all costs lose the state of the activity. This error commonly happens when you try to commit a fragment transaction after the onSaveInstanceState() be called, in other words, when you do it in … Continue lendo Can not perform this action after onSaveInstanceState
Saving Instance State…again
I've posted sometimes about save instance state on activities (in portuguese), but I could observe that I've writen that Android OS can kill your process when it needs memory, so the activity can be destroyed anytime. I've written too that when it happens Android will give a chance to developers finish any threads or connections … Continue lendo Saving Instance State…again
Android – Tweaking the Back Stack Behaviour
I've written a post about Android back stack and its default behaviour where every started activity is placed in a "last in, first out" stack. Today, I was reading a great article on Android guides where there is a section to explain about situations where we must to tweak this behavior, something that I forgot … Continue lendo Android – Tweaking the Back Stack Behaviour