Category: "Android programming"
Android Studio 1.0 is released
Android Studio 1.0 is released after long period of beta. Although I am very happy about pre-release version, that is so good to have a final version. Finally, we have an IDE design for Android Developers!
Android Error : "must implement onFragmentInteractionListener"
I am building a new note pad app. I was trying to connect each fragment into the main activity. But I got an error,"must implement onFragmentInteractionListener".
I found the problem is I have to implement onFragmentInteractionListener in each fragment. e.g.
public class MainActivity extends Activity
Inside the class:
Free Bootstrap Templates @ BootstrapZero
I found a good website for Bootstrap, BootstrapZero.. There are some starter kit to build a bootstrap website, such as a basic image slider website, admin console and silde bar website. Moreover, there are a number good free bootstap templates, such as a google plus like and facebook like templates. All of them are free of charge under a MIT License. I found there are enough resources to build a website. I do not need to buy other stuff online.
Error : NoSuchMethodError: com.google.protobuf.LazyStringArrayList.(Lcom/google/protobuf/LazyStringList;)
After I updated the android studio and I run my project, I got this error: NoSuchMethodError: com.google.protobuf.LazyStringArrayList.(Lcom/google/protobuf/LazyStringList;). I cannot build the project. The problem is the old protobuf jar still in lib folder. Then just delete the file, protobuf-2.4.1.jar in [drive]\Program Files (x86)\Android\android-studio\lib. All should be working fine now.
I started to use ViewPagerIndicator for a few weeks. I found out each "page" inside ViewPagerIndicator is a Fragment. If that is a simple page, it will extend Fragment. If that is a list, please extend ListFragment
That is very complex, I suggest to read the document from Android.com. We have to fully understand the fragment concept!