iOS Question Animated Navbar with scrolling

Mike1970

Well-Known Member
Licensed User
Longtime User
Hi everyone.
While using Facebook I noticed that the navbar is “linked” with the scrolling of the list.
how can be implemented such a behavior in b4i? maybe using a clv or scrollview etc..

thanks in advance

ABSRlIpLkFCNxkAKhnjAJ-_B6p5iifUb0mefS_5q8q6gFmLZ81FdVBLKUYsRPmn757ZeMauC-aiYVI6rUuWxJONxO-O9xw5PrCcrcfCONlBPd_prtBu7-NFUmjqqV86Tj4q-GwQMdAC_nJxnASKlYGRHX-e3nDUQkDIbtJsAe1Mg-DJzt95Vy9VKmCsSJIoSNmBG6P8eDXbmyG8hw16KS6o4PTr6XJxvOguKmTVs_4XMgOttOcMqniXxSNrjlpqrCpMhoncZiS6CBQOqlIk2KrY4em3cZmnuJxSWDwa8uJXZVCbXKUYBuRwrSD3i64pwkj39urHYZrNWcdgIwI4jYGxAsQjMQfQco1g2sDkKCSrVG-h6kn-DLPY_LcaXGlewr3y23gVxRKA_Ez5RJSzYL_7WI4D7_n2-eUnH0w5buC2G27YOtCdne8g3Yc0FVTWeICMFwBCRrsdbPtAHQki1aXMYkvVzFmAnSq8iAbV8CcXEdjK6djHRSt8z-DPfndU1p0cFOfjIqKqoRa47MT_bTanOoir1p06XbOYTyZ3Nk43qzGguMOyBsFMiri9uZx2oyH3CEwSOv7qA3BTII3XpfR8vaQTn4N-uh5BTh1MCD9u58QfG_mtWp62Bf2wkJY00g8omcga3KwF0ArCsH74EZbjssx-O76JencNMDyQ8n3QbtBy7rmAvDVJIBm93UtF5W1_o0fEiyapC3ubRraTcvtmxq7zIoh8TNpQfXQ=w1920-h889-ft

(gif link to see)

p.s. what is the maximum file size for attachments in the forum?? 1.76MB gif was rejected (I had to upload it on google drive and retrive the image link from the inspector web 😂)
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
The image link is broken. You need to set the sharing permission.

what is the maximum file size for attachments in the forum?
500kb.

Check the attached example. Note that the CLV isn't resized. Resizing it will cause the scroll position to jump. The "resize layout" option in the layout file is unchecked.
 

Attachments

  • Project.zip
    8.8 KB · Views: 197
Upvote 0

Mike1970

Well-Known Member
Licensed User
Longtime User
Ok Erel, thank you very much.
This example seems to be a very good compromise. <

I was just curious to know how they achieve the result to follow the finger movement (now that the gif is visible maybe is clearer).
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User

 
Upvote 0

Mike1970

Well-Known Member
Licensed User
Longtime User

Oh ok, so you think that the thing that follows the finger is not the navbar itself but is a custom element?
 
Upvote 0
Top