I hereby claim:
- I am jzeferino on github.
- I am jzeferino (https://keybase.io/jzeferino) on keybase.
- I have a public key ASBFrrd2nlSZOM6wNSDvbgH7XtQyy1uR60KB9Fyb9kvTOAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| using System; | |
| using UIKit; | |
| using System.Collections.Generic; | |
| using Foundation; | |
| using System.Linq; | |
| namespace CustomView | |
| { | |
| public class ViewPagerViewController<TData> : UIPageViewController, IUIPageViewControllerDelegate, IUIPageViewControllerDataSource | |
| { |
| public static void Fade (this UIView view, bool isIn, double duration = 0.3, Action onFinished = null) | |
| { | |
| var minAlpha = (nfloat)0.0f; | |
| var maxAlpha = (nfloat)1.0f; | |
| view.Alpha = isIn ? minAlpha : maxAlpha; | |
| view.Transform = CGAffineTransform.MakeIdentity (); | |
| UIView.Animate (duration, 0, UIViewAnimationOptions.CurveEaseInOut, | |
| () => { | |
| view.Alpha = isIn ? maxAlpha : minAlpha; |
| // ============================================= | |
| // AUTHOR : jzeferino | |
| // PURPOSE : A simple Xamarin introduction demo | |
| // ============================================= | |
| using System; | |
| using System.Net.Http; | |
| using System.Threading.Tasks; | |
| namespace SharedCode.Service |
| using System.Diagnostics; | |
| using System.Runtime.CompilerServices; | |
| namespace CallerInfoExample | |
| { | |
| public static class Logger | |
| { | |
| public static void Log(string message, | |
| [CallerFilePath] string sourceFilePath = "", | |
| [CallerLineNumber] int sourceLineNumber = 0, |
| public class RvUtil | |
| { | |
| public RvUtil (RecyclerView rv) | |
| { | |
| recyclerView = rv; | |
| } | |
| RecyclerView recyclerView; | |
| IntPtr id_setNestedScrollingEnabled; |
| public class NoOverScrollViewPager extends ViewPager { | |
| float lastX; | |
| public BorderNoSwipeViewPager(Context context) { | |
| super(context); | |
| } | |
| public BorderNoSwipeViewPager(Context context, AttributeSet attrs) { | |
| super(context, attrs); |
| #!/bin/bash | |
| declare -a arr=("obj" "bin" "packages") # Remove/add folders you want to clean up. | |
| read -p "Delete $(printf "%s, " "${arr[@]}")folders under $PWD? (y/n) " answer | |
| case ${answer:0:1} in | |
| y|Y ) | |
| for folder in "${arr[@]}" | |
| do | |
| echo "Cleaning $folder" | |
| find . -name $folder -type d -exec rm -rf {} + |
| #load "AsyncHelper.cake" | |
| #r "System.Net.Http" | |
| using System.Net.Http; | |
| using System.Net.Http.Headers; | |
| string url = "https://icanhazdadjoke.com/"; | |
| var result = AsyncHelpers.RunSync( | |
| async ()=> { | |
| using(var client = new HttpClient()) |