B4i Library iLoadingIndicatorView

JanPRO

Well-Known Member
Licensed User
Version: 1.01

Description: iLoadingIndicatorView is a wrapper of the DGActivityIndicatorView project and allows you to add beautiful ActivityIndicators to your app's layout.

License: https://github.com/ninjaprox/DGActivityIndicatorView/blob/master/LICENSE

Screenshot:

Notes/Tips:

Download "iLoadingIndicatorView 1.01": http://bit.ly/2yByjnN

Feel free to ask questions ;)
 
Last edited:

tufanv

Expert
Licensed User
Version: 1.0

Description: iLoadingIndicatorView is a wrapper of the DGActivityIndicatorView project and allows you to add beautiful ActivityIndicators to your app's layout.

License: https://github.com/ninjaprox/DGActivityIndicatorView/blob/master/LICENSE

Screenshot:

Notes/Tips:

Download "Library.zip": http://bit.ly/1T0SfqQ

Feel free to ask questions ;)
Dear Jan,
I cant get this work . I use :

B4X:
dim loading as loadingviewindicator
loading.Initialize(loading.TypeBallBeat,Colors.Red,45)
        loading.StartAnimating
    loading.Visible=True
I cant see anything. I am doing stg wrong but what ? :)
 

tufanv

Expert
Licensed User
Hi,

you have to add the IndicatorView to a Panel ;)

Jan
yes that solved it. Another question then =) my loadingindicator is always satys behind a button for example altough i use indicator.bringtofront. Any solution for that ?
 

tufanv

Expert
Licensed User
btw, these kind of libraries expands our design possibilities and make our apps perfect. They may seem like simple libraries but they are important and valuable . Thanks again for your library contributions. I wish I could write libraries..
 

JanPRO

Well-Known Member
Licensed User
Try to add the IndicatorView to a extra panel before you add it to the page:
B4X:
Dim LIV As LoadingIndicatorView
    LIV.Initialize(LIV.TypeBallBeat,Colors.Green,50)
    LIV.StartAnimating
  
    Dim LoadingPanel As Panel
    LoadingPanel.Initialize("")
    LoadingPanel.AddView(LIV,25,25,50,50)
    Page1.RootPanel.AddView(LoadingPanel,100,100,50,50)
  
    'And now try to call BringToFront again
    LoadingPanel.BringToFront
these kind of libraries expands our design possibilities and make our apps perfect
Yes, I absolutely agree, such little things have a huge impact ...

Jan
 

tufanv

Expert
Licensed User
Hi,

what do you mean by "add"?
You can set the color in the Initialize method :)

Jan
Dear Jan,

I have a weird problem. When i add the loadingviewindicator to rootpanel , alotugh it is not visible , it blocks the clicking area. I cant for exxample click on the textfield. When i remove the line
Page1.RootPanel.AddView(loading,50%x-125,25%y-110,25,25)

everything is ok.
 
Top