B4A Library GoogleProgressBar

Discussion in 'Additional libraries, classes and official updates' started by DonManfred, Jun 4, 2015.

Similar threads

B4A Tutorial [java] Custom View with Designer Support (Java library)
B4A Library CircularProgress
B4A Library CircleProgressMaster
B4A Library PanoramaImageView
B4A Library SnakeView
B4A Library LEDView
  1. DonManfred

    DonManfred Expert Licensed User

    This is a wrapper for this Github-Project.

    GoogleProgressBar
    Version:
    1
    • GoogleProgressBar
      Fields:
      • ba As BA
      Methods:
      • AddToParent (Parent As ViewGroup, left As Int, top As Int, width As Int, height As Int)
      • BringToFront
      • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
      • Initialize (EventName As String, Type As Int, colors() As Int)
      • Invalidate
      • Invalidate2 (arg0 As Rect)
      • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • IsInitialized As Boolean
      • RemoveView
      • RequestFocus As Boolean
      • SendToBack
      • SetBackgroundImage (arg0 As Bitmap)
      • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
      • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
      • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
      Properties:
      • Background As Drawable
      • Color As Int [write only]
      • Enabled As Boolean
      • Height As Int
      • Left As Int
      • Tag As Object
      • Top As Int
      • Visible As Boolean
      • Width As Int

    NOTE:
    If you set the customview with the designer you will get an folding_circles progress. To use the other progressbars you need to add the customview by code (see example)

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    This library is Donationware. You can download the library, you can test the library. But if you want to USE the library in your App you need to Donate for it.
    Please click here to donate (You can donate any amount you want to donate for the library (or my work) :)
    [​IMG]
     

    Attached Files:

    Last edited: Jun 4, 2015
  2. ArminKH

    ArminKH Well-Known Member

    Thank u 4 sharing this
    But can u please add google's gmail app loading to this lib ?
    Thats a loading when we swipe up to down and our mail updated for new one email
     
  3. DonManfred

    DonManfred Expert Licensed User

    I just did the wrapper... You need to ask the author of the github project. My java-knowledge is not enough to do it myself.
     
    Peter Simpson and ArminKH like this.
  4. DonManfred

    DonManfred Expert Licensed User

    Can you show me a link to java-library which does this what you mean?
     
    ArminKH likes this.
  5. ArminKH

    ArminKH Well-Known Member

    no thats just a suggestion
    Ok i do search for that and if I can find that then i will give you the link
     
  6. jahswani

    jahswani Active Member Licensed User

  7. ArminKH

    ArminKH Well-Known Member

    Last edited: Jun 4, 2015
  8. ArminKH

    ArminKH Well-Known Member

    And also above link has some other github projects
    Can u wrap this please?
     
  9. Peter Simpson

    Peter Simpson Well-Known Member Licensed User

    Hint: @arminkh why would you ask @DonManfred to create a library without any incentive?
    Thinking about it there are at least 2 pull to refresh libraries on this forum already, what's wrong with them?

    Cheers, I really do like CHROME_FLOATING_CIRCLES...
     
    Last edited: Jun 6, 2015
    ArminKH likes this.
  10. ArminKH

    ArminKH Well-Known Member

    My purepos is not pull to refresh mr simpson
    My purepos for give above links is:maybe mr donmanfred can extract existing codes from this library and raise loading from that
    And if you read exactly my post then you can see " but i am not sure this is exactly my aim or not"
    Yes i know we have pull to refresh lib on this furom and also i have my creation lib 4 pull to refresh
    But Let me to know is any google's gmail app loading at this furom?
    This lib is about google's loading and if i recommend mr @DonManfred to add this loading,just i want to complete this lib(with soooooo + veryyyyyy intensives)
    Thanx
     
  11. DonManfred

    DonManfred Expert Licensed User

    From the links you posted i UNDERSTAND you were wishing a pull-to-refresh"?
    So you mean the loadingprogress showed when refreshing your inbox? This spinning colorbands with a white background?
     
    ArminKH likes this.
  12. DonManfred

    DonManfred Expert Licensed User

    is it this what you are searching? This is the library on Github
     
    ArminKH likes this.
  13. ArminKH

    ArminKH Well-Known Member

    No.although this is very beautiful too
    but When we swipe from top to bottom then gmail app show (pull to refresh) then starts refreshing my inbox please see following screenshot
    IMG_20150606_122718.jpg
     
  14. DonManfred

    DonManfred Expert Licensed User

  15. ArminKH

    ArminKH Well-Known Member

    your android is 5
    My android version is 4.2.1
     
  16. DonManfred

    DonManfred Expert Licensed User

    Maybe you are searching for this?
     
    ArminKH likes this.
  17. ArminKH

    ArminKH Well-Known Member

    PLEASE see this video
     

    Attached Files:

  18. Peter Simpson

    Peter Simpson Well-Known Member Licensed User

    You should read what you post before posting it, you out a link to a pull to refresh library and you clearly asked Manfred if he would wrap it, it's as simple as that. Manfred should charge you for the pleasure.
     
    ArminKH likes this.
  19. ArminKH

    ArminKH Well-Known Member

    I am still believe my posts are relevant to loading
    If my english is so bad excuse me if i cant tell what i want to do
    Okay i am sorry mr @DonManfred please forget all off my posts :)
    Now mr @Peter Simpson is there any problem again? ;-)
     
  20. Scantech

    Scantech Active Member Licensed User

    Hi. Is it possible to have the resources embedded in .aar. Thanks
     
Loading...