cost 205 ms
無法將“視圖”設置為不可見

[英]failed to put View set to invisible

我試圖將一個孩子為null的視圖(在list_child中)設置為不可見(在由external sqlite database simplecursortreeadapater並使用simplecursortreeadapater的expandable listview )。 我試圖這樣做: ...

Viewbinder Simplecursortreeadapter出現問題-無法將字符串轉換為Blob

[英]Trouble with viewbinder Simplecursortreeadapter -unable to convert string to blob

我在sqlite預先填充的數據庫中有圖片,我正在使用Simplecursortreeadapter將數據傳遞到exepndablelistview,但是在打開帶有圖片的子視圖並在logcat中時,應用程序崩潰了,我得到了“無法將字符串轉換為BLLOB”的信息。互聯網我發現(也許)我必須實現我做過 ...

如何將標題行添加到使用simplecursortreeadapter的expandablelistview的子視圖列表中

[英]How to add a header row to a list of child views of an expandablelistview that uses simplecursortreeadapter

我正在使用一個simplecursortreeadapter來填充一個expandablelistview,並希望在所有具有數據標題的子視圖的頂部都有一行。 組1名稱[展開] 標頭(日期,名稱,$) 兒童1(07/12/2017,乍得,50.00) ...

Android 簡單 Cursor 適配器和 Cursor

[英]Android Simple Cursor adapter and Cursor

我構建了一個應用程序,它獲取具有不同屬性的數據,將它們添加到數據庫中,然后通過 ListView 顯示它。 我已經完成了添加數據的部分,但我無法弄清楚如何從數據庫中獲取它(現在我只想要名稱)並將其填充到 ListView 中。 這是數據庫 class 中的部分。 這是我想在其中顯示 ListVie ...

我想從sqlite數據庫中存儲的數據填充Expandable Listview

[英]I Want to populate the Expandable Listview from the data stored in the sqlite database

我想從存儲在sqlite數據庫中的數據填充Expandable Listview。 我的桌子是 我想顯示名稱,當我單擊該名稱時,它將在展開列表中顯示手機和年齡。 我對此一無所知。 如果您有任何解決方案,請幫助。 而且先前類似問題的所有答案都沒有用。 所以我再次問這個問題 ...

NPE:CursorTreeAdapter $ MyCursorHelper.changeCursor(Cursor,boolean)'對空對象引用

[英]NPE: CursorTreeAdapter$MyCursorHelper.changeCursor(Cursor, boolean)' on a null object reference

我正在嘗試從不同游標中的數據庫中獲取數據,並將其顯示在由組分隔的ExpandableListView中。 如下: 歷史任務(到光標0) 歷史1 歷史2 地理位置任務(到光標1) 地理1 地理2 外 ...

具有兩個級別的SimpleCursorTreeAdapter

[英]SimpleCursorTreeAdapter with two levels

對於我的項目,我有這種情況,我想將一個SimpleCursorTreeAdapter放入另一個,使其成為兩級樹。 第一個SimpleCursorTreeAdpater的子代也有自己的子代。 我該如何實現? 我進行了搜索,但找不到這種情況的任何示例,但是我確定我不是遇到這種情況的第一個人。 ...

使用SimpleCursorTreeAdapter的ExpandableListView在更新時滾動到頂部

[英]ExpandableListView using SimpleCursorTreeAdapter scrolls to top on update

我通過擴展SimpleCursorTreeAdapter創建了ExpandableListAdapter。 游標由加載程序管理。 當該列表顯示給user時,我啟動了后台服務以從服務器獲取最新數據。 如果服務器返回新數據,則將其添加到數據庫並通知子游標。 游標被重新查詢並且列表更新。 此 ...

避免刷新時選定的組崩潰(使用expandablelistview和游標加載程序

[英]avoiding selected group collapse when refreshing (using expandablelistview and cursor loaders

我在這里跟隨了SimpleCursorTreeAdapter和CursorLoader的ExpandableListView實例,但是我還有一個異步任務正在運行以更新數據庫。 我注意到,當我有一個組展開時,它會折疊,然后在刷新之前先展開。 我跟蹤到它,它似乎位於setChildrenCurs ...

更新SimpleCursorTreeAdapter的子級

[英]Updating children of SimpleCursorTreeAdapter

我正在使用SimpleCursorTreeAdapter在數據庫中顯示數據。 我正在使用裝載程序來管理所有游標。 一切正常。 但是每個子視圖中都有一些圖像。 在滾動時,這會導致明顯的結結。 所以我想使用asynctask在后台解碼圖像。 類似於(偽代碼): 到onPostEx ...

android ContentProvider使用SimpleCursorAdapter刪除ListView中的錯誤行

[英]android ContentProvider delete wrong row in ListView using SimpleCursorAdapter

我想使用SimpleCursorAdapter從ListView刪除數據庫條目。 每個列表項中都有一個用於刪除條目的按鈕。 但是,當我單擊列表視圖中的刪除按鈕時,evrytime列表中的最后一項將被刪除。 https://www.dropbox.com/s/inhdfcyxkrzrih ...

如何使Android ListView自動刷新?

[英]How to make Android ListView get refresh automatically?

在我的應用程序中,我有一個ListView。 使用SimpleCursorAdapter在ListView中填充數據。 我希望ListView在數據庫發生更改或單擊按鈕時自動刷新。 我已經嘗試了adapter.notifyDataSetChanged()但它沒有效果。我找不到一個好的解決方 ...

SimpleCursorTreeAdapter導致錯誤

[英]SimpleCursorTreeAdapter causing an error

下面是來自我的actvity的代碼以及一個內部類,該內部類是Simple Cursor Tree Adapter的子類。 問題是當我單擊的子元素時出現錯誤 我的logcat的輸出如下。 更重要的是,我為expendableList groupitem獲得了相同的價值。 例如,如果我 ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM