May 28, 2015 Replies: 5 This section will be a record of all the differences between b4a and b4i for future use. This has been sourced from questions asked. 1. b4a - Activity_Resume: b4i - Page_Appear 2. iTableView / ListView : in b4i if you are loading dynamic items, run the .ReloadAll method to refresh your listview contents Last edited: Jun 5, 2015 Click to expand...
This section will be a record of all the differences between b4a and b4i for future use. This has been sourced from questions asked. 1. b4a - Activity_Resume: b4i - Page_Appear 2. iTableView / ListView : in b4i if you are loading dynamic items, run the .ReloadAll method to refresh your listview contents
ilan Expert Licensed User Longtime User May 29, 2015 #2 B4a -> B4i Activity_Resume -> Application_Active Activity_Pause -> Application_Inactive
Mashiane Expert Licensed User Longtime User Jun 5, 2015 #3 b4i does not have this method yet for the ListView, here is an adoption: Usage: AddTwoLinesAndBitMap2(iTableViewID, Title, Description, LoadBitMap(), key) The b4a has this method built in for it. Code: Copy Public Sub AddTwoLinesAndBitmap2(LV As TableView, sTitle As String, sDescription As String, img As Bitmap, sKey As String) Dim tc As TableCell = LV.AddTwoLines(sTitle, sDescription) tc.Bitmap = img tc.Tag = sKey End Sub
b4i does not have this method yet for the ListView, here is an adoption: Usage: AddTwoLinesAndBitMap2(iTableViewID, Title, Description, LoadBitMap(), key) The b4a has this method built in for it. Code: Copy Public Sub AddTwoLinesAndBitmap2(LV As TableView, sTitle As String, sDescription As String, img As Bitmap, sKey As String) Dim tc As TableCell = LV.AddTwoLines(sTitle, sDescription) tc.Bitmap = img tc.Tag = sKey End Sub
Mashiane Expert Licensed User Longtime User Jun 5, 2015 #4 Another listview method adoption: Code: Copy Public Sub AddSingleLineAndBitmap2(LV As TableView, sTitle As String, img As Bitmap, sKey As String) Dim tc As TableCell = LV.AddTwoLines(sTitle, "") tc.Bitmap = img tc.Tag = sKey End Sub
Another listview method adoption: Code: Copy Public Sub AddSingleLineAndBitmap2(LV As TableView, sTitle As String, img As Bitmap, sKey As String) Dim tc As TableCell = LV.AddTwoLines(sTitle, "") tc.Bitmap = img tc.Tag = sKey End Sub
Mashiane Expert Licensed User Longtime User Jun 5, 2015 #5 Another... Code: Copy Public Sub AddTwoLines2(LV As TableView, sTitle As String, sDescription As String, sKey As String) Dim tc As TableCell = LV.AddTwoLines(sTitle, sDescription) tc.Tag = sKey End Sub
Another... Code: Copy Public Sub AddTwoLines2(LV As TableView, sTitle As String, sDescription As String, sKey As String) Dim tc As TableCell = LV.AddTwoLines(sTitle, sDescription) tc.Tag = sKey End Sub
Mashiane Expert Licensed User Longtime User Jun 5, 2015 #6 Code: Copy Public Sub AddSingleLine2(LV As TableView, sTitle As String, sKey As String) Dim tc As TableCell = LV.AddTwoLines(sTitle, "") tc.Tag = sKey End Sub
Code: Copy Public Sub AddSingleLine2(LV As TableView, sTitle As String, sKey As String) Dim tc As TableCell = LV.AddTwoLines(sTitle, "") tc.Tag = sKey End Sub