Android Question B4XDrawer and CLV Expandable...

StephenRM

Member
Hello,

I have combined B4XDrawer and CLV Expandable code.
I hv replaced the two buttons with only one webview in Expandable example.
This item.bal, is loaded in left drawer of B4XDrawer. Two items are loaded in B4XDrawer CLV.
Now, problem is, the matter that needs to be in first item of clv, appears in webview of second item. And when second item is opened it's content correctly appear in webview.
How to make the correct content appear when respective item is clicked.
 

StephenRM

Member
B4XDrawer and CLV Expandable...:
For Each v As View In clv1.GetPanel(Index).GetAllViewsRecursive
        If v Is WebView Then
            Dim wv As WebView = wvDrawer
            Exit
        End If
    Next


It is still not working, Any solution?
1.png Shows, The Left drawer opens CLV1 has two panels.
  1. Panel one, has Label and imageView with Arrow, as in Erel's B4XDrawer Example, same copy, no change.
  2. Panel two, is loaded either by another CLV from item.bal or with a WebView and Two imageView from item1.bal depending on user choice.
If you see, 3.png is blank, the content of this goes into the Devotional- item of CLV.
When Devotional item its opened, 4.png shows correct result, google searches and returns result.
If Devotional item is not loaded, then the 2 item of CLV returns the Web Search result and 3.png is not blank.

I want the Blank, 3.png to be resolved.
 

Attachments

  • 1.png
    1.png
    172.3 KB · Views: 214
  • 2.png
    2.png
    185.3 KB · Views: 212
  • 3.png
    3.png
    72.9 KB · Views: 220
  • 4.png
    4.png
    88.5 KB · Views: 203
Upvote 0
Top