在Google Analytics中,我看到com.google.android.feedback
并com.android.vending
在"收购"标签下.
我知道这com.android.vending
是指从Google Play安装.
但是com.google.android.feedback
指的是什么?
我需要帮助才能使过滤工作.ListView显示正确,但是当我在搜索字段中输入一个字母时,它会出错
java.lang.NullPointerException
Run Code Online (Sandbox Code Playgroud)
和申请结束.
以下是我的活动中的代码片段,我认为我必须修复,但不知道如何:
protected void onPostExecute(String file_url) {
// dismiss the dialog after getting all albums
pDialog.dismiss();
// updating UI from Background Thread
runOnUiThread(new Runnable() {
public void run() {
/**
* Updating parsed JSON data into ListView
* */
ListAdapter adapter = new SimpleAdapter(
WineSearchActivity_2.this, albumsList,
R.layout.activity_search_list_of_wines, new String[] {
TAG_wine_id, TAG_wine_name,
TAG_wine_country_id,
TAG_wine_country_flag_pic }, new int[] {
R.id.wine_id, R.id.wine_name,
R.id.wine_country_id, R.id.imageView2 });
ListView lv = getListView();
LayoutInflater inflater = getLayoutInflater();
View header = inflater.inflate(R.layout.header,
(ViewGroup) findViewById(R.id.LinearLayoutHeader));
View …
Run Code Online (Sandbox Code Playgroud)