a simple loadingview for android with animation

Overview

LoadingView

a simple loadingview for android with animation

简单的带有动画效果的加载控件

#Preview screen screen2 #Gradle compile 'com.ldoublem.loadingview:loadingviewlib:1.0'

Id Picture Name Method
1 1 LVCircularCD setViewColor(int color)
startAnim(int time)
stopAnim()
2 2 LVCircularRing setViewColor(int color)
setBarColor(int color)
startAnim(int time)
stopAnim()
3 3 LVCircular setViewColor(int color)
setRoundColor(int color)
startAnim(int time)
stopAnim()
4 4 LVFinePoiStar setViewColor(int color)
setCircleColor(int color)
startAnim(int time)
stopAnim()
setDrawPath(boolean isDrawPath)
5 5 LVCircularSmile setViewColor(int color)
startAnim(int time)
stopAnim()
6 6 LVGears setViewColor(int color)
startAnim(int time)
stopAnim()
7 7 LVGearsTwo setViewColor(int color)
startAnim(int time)
stopAnim()
8 8 LVWifi setViewColor(int color)
startAnim(int time)
stopAnim()
9 9 LVCircularJump setViewColor(int color)
startAnim(int time)
stopAnim()
10 10 LVCircularZoom setViewColor(int color)
startAnim(int time)
stopAnim()
11 11 LVPlayBall setViewColor(int color)
setBallColor(int color)
startAnim(int time)
stopAnim()
12 12 LVNews setViewColor(int color)
startAnim(int time)
stopAnim()
13 13 LVLineWithText setViewColor(int color)
setTextColor(int color)
setValue(int value)//0-100
14 14 LVEatBeans setViewColor(int color)
setEyeColor(int color)
startAnim(int time)
stopAnim()
15 15 LVChromeLogo startAnim(int time)
stopAnim()
16 16 LVRingProgress setViewColor(int color)
setTextColor(int color)
setPorBarStartColor(int color)
setPorBarEndColor(int color)
startAnim(int time)
stopAnim()
17 17 LVBlock setViewColor(int color)
isShadow(boolean boolean show)
setShadowColor(int color)
startAnim(int time)
stopAnim()
18 18 LVFunnyBar setViewColor(int color)
startAnim(int time)
stopAnim()
19 19 LVGhost setViewColor(int color)
setHandColor(int color)
startAnim(int time)
stopAnim()
20 20 LVBlazeWood startAnim(int time)
stopAnim()
21 21 LVBattery setViewColor(int color)
setCellColor(int color)
setShowNum(boolean show)
setValue(int value)//0-100
startAnim(int time)
stopAnim()
22 22 LVSunSetView setSunendTime(String endtime)
setSunstartTime(String starttime)
startSunset()

About me

An android developer in Hangzhou.

If you want to make friends with me, You can email to me. my email 😃

License

The MIT License (MIT)

Copyright (c) 2016 ldoublem

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
You might also like...
A simple lib to create a ring-like progress view with corner edges
A simple lib to create a ring-like progress view with corner edges

ProgressRingView Installation Gradle: dependencies { compile 'com.github.flepsik:progress-ring-view:1.2.1' } Maven: dependency groupIdcom.g

A simple and flexible Fillable Progress Layout written in Kotlin
A simple and flexible Fillable Progress Layout written in Kotlin

FillProgressLayout 🔥 A simple and flexible Fill Progress Layout written in Kotlin 🔥 Netflix button animation using FillProgressLayout Support Librar

Simple Progress View that you can compare things, like statistics of a Football match
Simple Progress View that you can compare things, like statistics of a Football match

Simple Progress View that you can compare things, like statistics of a Football match

[Android] Round Corner Progress Bar Library for Android
[Android] Round Corner Progress Bar Library for Android

RoundCornerProgressBar Round corner is cool. Let's make your progress bar to round corner Colorful progress bar with round corner on progress which yo

[Android] Round Corner Progress Bar Library for Android
[Android] Round Corner Progress Bar Library for Android

RoundCornerProgressBar Round corner is cool. Let's make your progress bar to round corner Colorful progress bar with round corner on progress which yo

Now deprecated. A small Android library allowing you to have a smooth and customizable horizontal indeterminate ProgressBar
Now deprecated. A small Android library allowing you to have a smooth and customizable horizontal indeterminate ProgressBar

Description Small library allowing you to make a smooth indeterminate progress bar. You can either user your progress bars and set this drawable or us

A beautiful, slim Android ProgressBar.
A beautiful, slim Android ProgressBar.

Android NumberProgressBar The NumberProgressBar is a bar, slim and sexy (every man wants! ). I decided to do this because I was really tired of androi

An android library to display a progressbar that goes around an image.
An android library to display a progressbar that goes around an image.

android-square-progressbar First things first This library is setup to work with the Android Studio and Gradle. If you're using the Eclipse environmen

Android library to display progress like google does in some of his services.

GoogleProgressBar This library is not maintained anymore and there will be no further releases Android library to display different kind of google rel

Comments
  • You should avoid object allocations during view draw operations

    You should avoid object allocations during view draw operations

    ie:

    1. com.ldoublem.loadingView.view.LVCircularCD L64, L73
    2. com.ldoublem.loadingView.view.LVCircularRing L59
    3. com.ldoublem.loadingView.view.LVCircularSmile L61
    4. com.ldoublem.loadingView.view.LVFinePoiStar L120, L130
    opened by qbeenslee 1
  • Bubble sort

    Bubble sort

    // Time Complexity O(n^2) // Space Complexity O(1)

    fun sort(arr: Array): Array { var items = arr.copyOf() for (i in 0 .. items.size - 1) { for (j in i + 1 .. items.size - 1) { if (items[j] < items[i]) { val tmp = items[j] items[j] = items[i] items[i] = tmp } } } return items; }

    var items = arrayOf(4, 1, 5, 3, 2)

    val sortItems = sort(items) // sortItems is {1, 2, 3, 4, 5} sortItems.forEach { print("$it ") } println()

    // *** simplified speed test *** items = Array(200, {0}) .mapIndexed { i, _ -> i } .toTypedArray() val tmp = items[5] items[5] = items[6] items[6] = tmp val count = 10000 val start = Date()

    for (i in 0..count - 1) { sort(items) }

    val milliseconds = Date().time - start.time

    println(milliseconds) // about 2742 milliseconds

    opened by o1m2a3r4 0
  • Interpolation search

    Interpolation search

    fun search(list: List, x: Long): Int { var low = 0 var high = list.size - 1

    while ((list[low] < x) &amp;&amp; (x < list[high]))
    {
        var mid = (low + ((x - list[low])*(high - low))/(list[high] - list[low])).toInt()
    
        if (list[mid] < x)
        low = mid + 1
        else if (list[mid] > x)
        high = mid - 1
        else
        return mid
    }
    
    if (list[low] == x.toInt())
    return low
    if (list[high] == x.toInt())
    return high
    return -1
    

    }

    var items = listOf(2, 3, 5, 7, 11, 13, 17)

    println(search(items, 1)) //print -1 println(search(items, 7)) //print 3 println(search(items, 19)) //print -1

    // *** simplified speed test ***

    items = Array(1000000, {0}).mapIndexed { i, _ -> i } val count = 100

    val start = Date()

    for (i in 0..count-1) { search(items, 777777) }

    val milliseconds = Date().time - start.time

    println(milliseconds) // about 4 milliseconds

    opened by o1m2a3r4 0
Owner
ldoublem
wechat:v_ooooooooo weibo:http://weibo.com/u/1791039083
ldoublem
A Gorgeous LoadingView (一个绚丽的LoadingView )

GADownloading 中文文档 1 Creative prototype: The effect is shown below: Through the code to achieve the effect is as follows: State of success: State of f

GAStudio 933 Nov 21, 2022
A circle progress animation view on Android

CircleProgress A Circle Progress View with a rotate animation. Just make for fun. Hope you enjoy it. Quick Look Usage <me.fichardu.circleprogress.Circ

null 814 Dec 27, 2022
A loading animation based on Floating Action Button

FAB-Loading A loading animation based on Floating Action Button. Usage Include the LoadingView widget in your view: <io.saeid.fabloading.LoadingView

Saeed Masoumi 689 Oct 14, 2022
⏳ A delightful progress animation that you'll fall in ❤️️ with, very easily.

TinglingSquares View A delightful progressbar animation. Demo Download Add this to your app module's build.gradle file dependencies { compile

Ishan Khanna 101 Dec 23, 2022
A progress bar with animation, gradient and colorful shadow.

Fancy Progressbar Android library providing a beautiful progressbar with colorful shadow, gradient and animation for Jetpack Compose. Download Add in

Fatemeh Afshari 5 Dec 25, 2022
A customizable, animated progress bar that features rounded corners. This Android library is designed to look great and be simple to use 🎉

RoundedProgressBar Easy, Beautiful, Customizeable The RoundedProgressBar library gives you a wide range of customizable options for making progress ba

null 541 Jan 1, 2023
A simple customizable NumberPicker plugin for Android

NumberPicker A simple customizable NumberPicker for Android. Installation via Gradle: compile 'com.github.travijuu:numberpicker:1.0.7' or Maven: <depe

Erkin Çakar 93 Nov 29, 2022
A simple library for creating circular progressbars for Android

CircleProgressBar A simple library for creating circular progressbars for Android. Examples Installation Get it via gradle: implementation 'com.emreda

Emre 96 Nov 1, 2022
A simple progress loader inspired by Can you Code this UI? Volume 6! - https://stories.uplabs.com/can-you-code-this-ui-volume-6-7bd09fa6dd92#.nyh2zhpvb

SlidingSquaresLoader Sliding Square Loader - A simple progress loader inspired by Can you Code this UI? Volume 6! Gradle Step 1. Add the JitPack repos

Hamza Fetuga 151 Jul 26, 2022
Arc pointer - simple customized progress bar in the form of an arch

ArcPointer Simple customized progress bar in the form of an arch Demo Quick start Step 1 Gradle: compile 'io.github.dvegasa:arcpointer:1.0.2' Maven:

Ed Khalturin 79 Nov 22, 2022