Giter VIP home page Giter VIP logo

progressringplugin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

progressringplugin's Issues

Indeterminate form

I was hoping for something more like the current spinning dots in Windows 10 (there actually is a ProgressRing C# class that achieves this, but somehow it's not usable in Xamarin). Could you please add an indeterminate option with an animation like that that keeps cycling indefinitely?

Missing assembly reference build error

Hi, I have a xamarin forms app. Once I updated Xamarin and Xamarin Forms, I got a build error below;

Error CS0400: The type or namespace name 'ProgressRingControl' could not be found in the global namespace (are you missing an assembly reference?) (CS0400)

I added version 0.1.2 from nuget for both iOS&Android&Forms projects.

Visual Studio Community 2019 for Mac
Version 8.2.2 (build 21)
Installation UUID: 4482ac2d-ccbf-41b6-8d06-e096c840be7e
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.14.0.85 (d16-2-fix-mac-updates / 86973979)

Package version: 600000319

Mono Framework MDK
Runtime:
Mono 6.0.0.319 (2019-02/52203786470) (64-bit)
Package version: 600000319

NuGet
Version: 5.1.0.6013

.NET Core
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
2.1.12
2.1.8
SDK: /usr/local/share/dotnet/sdk/2.1.701/Sdks
SDK Versions:
2.1.701
2.1.700
2.1.505
2.1.504
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/6.0.0/lib/mono/msbuild/Current/bin/Sdks

Xamarin.Profiler
'/Applications/Xamarin Profiler.app' not found

Updater
Version: 11

Xamarin.Android
Version: 9.4.1.0 (Visual Studio Community)
Commit: xamarin-android/d16-2/ebd65c9
Android SDK: /Users/onur.hazar/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
8.1 (API level 27)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 29.0.1
SDK Build Tools Version: 28.0.3

Build Information:
Mono: mono/mono@e6f5369c2d2
Java.Interop: xamarin/java.interop/d16-2@d64ada5
LibZipSharp: grendello/LibZipSharp/d16-2@caa0c74
LibZip: nih-at/libzip@b95cf3f
ProGuard: xamarin/proguard@905836d
SQLite: xamarin/sqlite@8212a2d
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-2@6f6c969

Microsoft Mobile OpenJDK
Java SDK: /Users/onur.hazar/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Android Device Manager
Version: 1.2.0.58
Hash: d03e3ea
Branch: remotes/origin/d16-2~1
Build date: 2019-07-30 21:29:36 UTC

Apple Developer Tools
Xcode 10.3 (14492.2)
Build 10G8

Xamarin.Mac
Version: 5.14.0.114 (Visual Studio Community)
Hash: c6691164
Branch: d16-2
Build date: 2019-07-29 15:54:06-0400

Xamarin.iOS
Version: 12.14.0.114 (Visual Studio Community)
Hash: c6691164
Branch: d16-2
Build date: 2019-07-29 15:54:05-0400

Xamarin Designer
Version: 16.2.0.379
Hash: 3f0652957
Branch: remotes/origin/d16-2
Build date: 2019-08-01 17:32:50 UTC

Xamarin Inspector
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1

Build Information
Release ID: 802020021
Git revision: d2ffd09000c5d24a206b715b63d409e8e965689a
Build date: 2019-08-02 00:25:49+00
Build branch: release-8.2
Xamarin extensions: 4cc9cbbe68baaeb6bc654f36e057b1bd124f3f65

Operating System
Mac OS X 10.14.6
Darwin 18.7.0 Darwin Kernel Version 18.7.0
Thu Jun 20 18:42:21 PDT 2019
root:xnu-4903.270.47~4/RELEASE_X86_64 x86_64

Enabled user installed extensions
Telerik Xamarin Add-in 2019.2.513

animation easing issue

my case even if we dont give any value to animationprogress property still progress ring is filling with color .if i remove animationEasing property then its working but if i remove this property animation is not working .can you please resolve this issue..

Progress or AnimatedProgress binding not working inside DataTemplate

Hi there,

I'm using the progressring inside a DataTemplate and when i do that the binding does not work on Progress and AnimatedProgress properties. If i hardcode the values it displays correctly, but when binded to the model the progress is like 0.

<rd:ProgressRing HorizontalOptions="Center" HeightRequest="120" RingThickness="3" RingBaseColor="{StaticResource ProgressBackColor}" RingProgressColor="{StaticResource AppHeaderColor}" AnimatedProgress="{Binding Progress}"></rd:ProgressRing>

Support for Xamarin.Forms 5.0 and iOS

Seems like the package not work on iOS with Xamarin.Forms 5.0+ version. Android is working as expected. But in iOS, not a progress ring. It's showing as a progress bar. Do I missing anything on my implementation or is it the same for all?

Stacklayout

Hi,
how can i insert this component in n Stacklayout

When i put this inside, i get a blank page!

Best regards

Is there a way to set the Setting the Inside Color

Is there a way to set the inside color of the ring? Something like the backgroundColor, but when I set that it shows a square that goes outside of the ring. If there isn't a way to set this, could you add a way?

Can't set progress and color programatically

var progressRing = new ProgressRingControl.Forms.Plugin.ProgressRing { RingThickness = 20, Progress = 0.5f };
progressRing.RingProgressColor(Color.BlueViolet);
progressRing.Progress(30.0);

can't add code like above . Adding time showing error like below:
Non-invocable member 'ProgressRing.RingProgressColor' cannot be used like a method.
Non-invocable member 'ProgressRing.Progress' cannot be used like a method.

Ring Progressbar not working in Android

I am getting normal horizontal progress bar in Android. I have added progressing nugget in every platform including android and I am using xamarin forms v. 3.5.0.129452.

.NET Standard Still not Compatible

The release notes for the latest 0.1.2 claim .netstandard compatibility. This is not true. Any date when this will be available?

Nathan

Release Notes

  • Switched PCL project to .netstandard
    - added animation easing property (for binding)
    - added animation time property (for binding)
    - added easing property for use in xaml

ProgressRingRenderer.OnDraw (Android.Graphics.Canvas canvas) .-ObjectDisposedException

From time to time, it seems the Paint object used by ProgressRingRenderer is disposed and then accessed.
This may be the case, as we use it inside of a listview.

The full stacktrace is as follows

JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self)
JniPeerMembers+JniInstanceMethods.InvokeVirtualSingleMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters)
Paint.get_StrokeWidth ()
ProgressRingRenderer.OnDraw (Android.Graphics.Canvas canvas)
View.n_OnDraw_Landroid_graphics_Canvas_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_canvas)

Animation doesn't work when AnimatedProgress is changed a second time

Hello,
In my XAML I add :
<progressring:ProgressRing RingThickness="20" AnimationEasing="6" AnimationLength="1500" AnimatedProgress="{Binding ProgressRingValue}"/>
At the beginning ProgressRingValue is 0.0
When I change ProgressRingValue the first time in my ViewModel (set it to 0.2 for example) the animation is triggered. But the second time I change it (let's say to 0.4) the animation is not triggered.

XAML compilation error

Hello,

I am getting a XAML compilation error of X when using AnimationLength="4000".

I am getting an opcode error.

<control:ProgressRing RingThickness="10" AnimatedProgress="0.75" Progress="0.56" HeightRequest="100" WidthRequest="100" AnimationLength="400" RingBaseColor="LightGray"/>

image

Progress does not move.

 <prgs:ProgressRing
            x:Name="xIndicator"
            Grid.Row="0"
            Grid.Column="0"
            HorizontalOptions="FillAndExpand"
            Progress="{Binding ProgressValue}"
            RingBaseColor="{StaticResource ColorBack000}"
            RingProgressColor="{StaticResource ColorBack004}"
            RingThickness="8"
            VerticalOptions="FillAndExpand" />

public class ProgressViewModel : INotifyPropertyChanged
    {
        private double m_dProgValue = 0.0f;

        public double ProgressValue
        {
            get { return m_dProgValue; }
            set
            {
                m_dProgValue = value;
                OnPropertyChanged(nameof(ProgressValue));
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
        void OnPropertyChanged(string propertyName)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
        }
    }


 private async void BtnStartClicked(object sender, EventArgs e)
        {
            //this.xGaugeResult.Value = m_nIndex--;


            for(int i = 0; i < 100; i++)
            {
                this.xGaugeResult.Value = i;
                this.xProgress.SetProgressValue((double)i);
                await Task.Delay(1000);
            }

        }

image

When the button is clicked, the value is passed through the setProgressvalue function.

Update the value through the bound class. But the progress remains blue.

The value does not change even if the progress property of ProgressRing is forcibly assigned. Is there a problem?

ProgressRing not rendered properly under iOS

For some reason the progress ring isn't rendered properly under iOS. It only renders the regular progress bar (probably since ProgressRing class in the pcl project is derived from it).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.