Display Objects in MultiAutoCompleteTextView
To display object value in MultiAutoCompleteTextView, you have to build a custom adapter: For example, I have a tag class, which has Id field and name field.…
Read moreJava — posts in this category.
To display object value in MultiAutoCompleteTextView, you have to build a custom adapter: For example, I have a tag class, which has Id field and name field.…
Read moreThis is the first keyboard shortcut you need to learn if you use Android Studio. This is ALT+Enter. It opens to Quick Fix Menu, which has the suggestions about…
Read moreYou can use "?" as the placeholder in sql for parameter in db.rawQuery in Android For example String sql= "select Id , Name, Note from note where Name = ?";…
Read morepublic abstract void onItemClick (AdapterView<?> parent, View view, int position, long id) in AdapterView Last parameter calls id, but that will be row id,…
Read moreIn Fragment sub class in Android, you cannot directly use findViewById() to retrieve the control from view , similar with Activity. You need to do a single…
Read moreI spent three days about this problem. The Navigation Drawer will show if I swipe the screen from left to right. But that won't show by clicking the app icon.…
Read moreI added Google Play Ads Service. However, I got this error: "No GMSG handler found for GMSG". No ads is displayed at all. I found the reason, that is because my…
Read moreI was using Android Studio 0.6. In general, UI has not much changed. However, I found there are more code refactoring feature, such as generating test, create…
Read moreAndroid 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,…
Read moreI 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…
Read moreI 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…
Read moreAfter I updated the android studio and I run my project, I got this error: NoSuchMethodError:…
Read more