This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
disabled_rules: # rule identifiers to exclude from running | |
- trailing_whitespace | |
- force_try | |
- cyclomatic_complexity | |
line_length: 500 | |
file_length: 1000 | |
excluded: # paths to ignore during linting. Takes precedence over `included`. | |
- Carthage | |
- Pods | |
- explicit_type_interface |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MXParallaxHeaderDelegateProxy: DelegateProxy<MXParallaxHeader, MXParallaxHeaderDelegate>, DelegateProxyType, MXParallaxHeaderDelegate { | |
public weak private(set) var mxParallaxHeader: MXParallaxHeader? | |
public init(mxParallaxHeader: ParentObject) { | |
self.mxParallaxHeader = mxParallaxHeader | |
super.init(parentObject: mxParallaxHeader, delegateProxy: MXParallaxHeaderDelegateProxy.self) | |
} | |
static func registerKnownImplementations() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# hook script for swiftlint. It will triggered when you make a commit. | |
# | |
# If you want to use, type commands in your console. | |
# $ ln -s ../../pre-commit-swiftlint.sh .git/hooks/pre-commit | |
# $ chmod +x .git/hooks/pre-commit | |
LINT=./Pods/SwiftLint/swiftlint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.aracem.utils.animations.pagetransformation; | |
import org.jetbrains.annotations.NotNull; | |
import android.support.v4.view.ViewPager; | |
import android.view.View; | |
import java.util.ArrayList; | |
import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Glide.with(holder.itemView) | |
.asBitmap() | |
.load("http://i.imgur.com/VuItY0T.gif") | |
.into(holder.imageContent) | |
val playPauseGif = PlayPauseGif(holder.imageContent) | |
holder.imageContent.setOnClickListener{ | |
if (playPauseGif.isPlaying()) { | |
Log.e(TAG, "pausing") |