loop

  1. M

    Wish [B4X] ScrollingLabel with different modes

    Hi everyone, how many of you would like to have the ScrollingLabel (in XUI Views) settable in multiple modes? For example i would like to have "Ping Pong" scrolling, instead of the "Loop" scrolling i think it could be an "easy" but cool upgrade for that view :)
  2. Carlos marin

    iOS Question [B4XGifView] has a way to disable looping and control speed in iOS?

    Hi guys, is there a way to replicate what I saw in the following thread but for iOS? I can't find the B4XGifView1.GifDrawable property and would like to have control to start, stop and handle the speed of the gif, i'm loading a gif but it takes longer to reproduce the animation than it should...
  3. J

    Android Question For loop not going for Next

    Hi I have a code like this If ..... Then For i = 0 to List.Size - 1 If ..... Then If .... Then //do something Else //do something End If Else If .... Then //do something Else //do something...
  4. rleiman

    Android Question [SOLVED] - Checking for permissions in B4A results in a continuous loop

    Greetings, I used some of the code from a tutorial for background location checking in my app and the logs statements get stuck in a loop. This is the tutorial and this is the code based on the tutorial I used in my app. Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_READ_PHONE_STATE) Wait...
  5. R

    iOS Question Dim Within A Loop - Why?

    I have noticed this happens occasionally and maybe I should have asked the question earlier. This example applies to B4i but I have also noticed it happening in B4A. Dim ThisPosition As LatLng 'Before the loop Do While Locations.NextRow...
  6. R

    Android Question Exoplayer Loop function

    If u use a Http:// source like Sub Activity_Create(FirstTime As Boolean) If FirstTime Then player1.Initialize("player") Dim sources As List sources.Initialize sources.Add(player1.CreateUriSource("http://192.168.178.16/video/film.mp4")) player1.Prepare(player1.CreateListSource(sources)) Can...
  7. F

    Android Question [SOLVED]Very Slow Loop

    I have a for-loop where I fill with data a string variable (that I have already Created). It takes 6 to 10 secs to complete. Log($"BEFORE loop- $time{DateTime.Now}"$) Dim n As Int = crs.RowCount - 1 Dim lvHtml As String = $"<!DOCTYPE...
  8. P

    B4J Question mysql resultset to xml

    So I'm most likely just being a bit thick today but i can't get my head around how to get this to work; The aim being to have an xml builder populated from a database. 'Handler class Sub Class_Globals Private mreq As ServletRequest 'ignore Private mresp As ServletResponse 'ignore '...
  9. G

    B4J Question Loop No inLabels no Form

    Hello . I need a help how can I loop in all form's Labels (B4j)? ???? For i = 0 to MyForm.GetView ???? log(label.text) Next
Top