[
  {
    "path": ".gitignore",
    "content": "# Built application files\n*.apk\n*.ap_\n\n# Files for the ART/Dalvik VM\n*.dex\n\n# Java class files\n*.class\n\n# Generated files\nbin/\ngen/\nout/\n\n# Gradle files\n.gradle/\nbuild/\n\n# Local configuration file (sdk path, etc)\nlocal.properties\n\n# Proguard folder generated by Eclipse\nproguard/\n\n# Log Files\n*.log\n\n# Android Studio Navigation editor temp files\n.navigation/\n\n# Android Studio captures folder\ncaptures/\n\n# Intellij\n*.iml\n.idea/workspace.xml\n\n# Keystore files\n*.jks\n"
  },
  {
    "path": ".idea/inspectionProfiles/Project_Default.xml",
    "content": "<component name=\"InspectionProjectProfileManager\">\n  <profile version=\"1.0\">\n    <option name=\"myName\" value=\"Project Default\" />\n    <inspection_tool class=\"AbsoluteAlignmentInUserInterface\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AbstractClassExtendsConcreteClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AbstractClassNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AbstractClassNeverImplemented\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AbstractClassWithOnlyOneDirectInheritor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AbstractClassWithoutAbstractMethods\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AbstractMethodCallInConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AbstractMethodOverridesAbstractMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AbstractMethodOverridesConcreteMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AbstractMethodWithMissingImplementations\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AccessToNonThreadSafeStaticFieldFromInstance\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"nonThreadSafeClasses\">\n        <value />\n      </option>\n      <option name=\"nonThreadSafeTypes\" value=\"\" />\n    </inspection_tool>\n    <inspection_tool class=\"AccessToStaticFieldLockedOnInstance\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AmbiguousFieldAccess\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AmbiguousMethodCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"Annotation\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AnnotationClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AnnotationNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[A-Z][A-Za-z\\d]*\" />\n      <option name=\"m_minLength\" value=\"8\" />\n      <option name=\"m_maxLength\" value=\"64\" />\n    </inspection_tool>\n    <inspection_tool class=\"AnonymousClassComplexity\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"3\" />\n    </inspection_tool>\n    <inspection_tool class=\"AnonymousClassMethodCount\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"1\" />\n    </inspection_tool>\n    <inspection_tool class=\"AnonymousClassVariableHidesContainingMethodVariable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AnonymousInnerClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AnonymousInnerClassMayBeStatic\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ArrayEquality\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ArrayLengthInLoopCondition\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssertAsName\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssertEqualsCalledOnArray\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssertEqualsMayBeAssertSame\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssertMessageNotString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssertStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssertsWithoutMessages\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssertsWithoutMessagesTestNG\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssignmentToCatchBlockParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssignmentToCollectionFieldFromParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignorePrivateMethods\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"AssignmentToDateFieldFromParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignorePrivateMethods\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"AssignmentToForLoopParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_checkForeachParameters\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"AssignmentToLambdaParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssignmentToMethodParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreTransformationOfOriginalParameter\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"AssignmentToNull\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssignmentToStaticFieldFromInstanceMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssignmentToSuperclassField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AssignmentUsedAsCondition\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AutoBoxing\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreAddedToCollection\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"AutoCloseableResource\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AutoUnboxing\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AwaitNotInLoop\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"AwaitWithoutCorrespondingSignal\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BadExceptionCaught\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"exceptionsString\" value=\"\" />\n      <option name=\"exceptions\">\n        <value />\n      </option>\n    </inspection_tool>\n    <inspection_tool class=\"BadExceptionDeclared\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"exceptionsString\" value=\"\" />\n      <option name=\"exceptions\">\n        <value />\n      </option>\n      <option name=\"ignoreTestCases\" value=\"false\" />\n      <option name=\"ignoreLibraryOverrides\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"BadExceptionThrown\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"exceptionsString\" value=\"\" />\n      <option name=\"exceptions\">\n        <value />\n      </option>\n    </inspection_tool>\n    <inspection_tool class=\"BadOddness\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BeforeClassOrAfterClassIsPublicStaticVoidNoArg\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BeforeOrAfterIsPublicVoidNoArg\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BigDecimalEquals\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BigDecimalLegacyMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BlockMarkerComments\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BooleanExpressionMayBeConditional\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BooleanMethodNameMustStartWithQuestion\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreBooleanMethods\" value=\"false\" />\n      <option name=\"ignoreInAnnotationInterface\" value=\"true\" />\n      <option name=\"onlyWarnOnBaseMethods\" value=\"true\" />\n      <option name=\"questionString\" value=\"add,are,can,check,contains,could,endsWith,equals,has,is,matches,must,put,remove,shall,should,startsWith,was,were,will,would\" />\n    </inspection_tool>\n    <inspection_tool class=\"BooleanParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BooleanVariableAlwaysNegated\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BreakStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BreakStatementWithLabel\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"BusyWait\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CStyleArrayDeclaration\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CachedNumberConstructorCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CallToNativeMethodWhileLocked\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CallToSimpleGetterInClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreGetterCallsOnOtherObjects\" value=\"false\" />\n      <option name=\"onlyReportPrivateGetter\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"CallToSimpleSetterInClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreSetterCallsOnOtherObjects\" value=\"false\" />\n      <option name=\"onlyReportPrivateSetter\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"CallToStringConcatCanBeReplacedByOperator\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CastConflictsWithInstanceof\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CastThatLosesPrecision\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreIntegerCharCasts\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"CastToConcreteClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CastToIncompatibleInterface\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ChainedEquality\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ChainedMethodCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreFieldInitializations\" value=\"true\" />\n      <option name=\"m_ignoreThisSuperCalls\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"ChannelResource\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"insideTryAllowed\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"CharUsedInArithmeticContext\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CharacterComparison\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CheckForOutOfMemoryOnLargeArrayAllocation\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"64\" />\n    </inspection_tool>\n    <inspection_tool class=\"CheckedExceptionClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassComplexity\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"80\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassCoupling\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_includeJavaClasses\" value=\"false\" />\n      <option name=\"m_includeLibraryClasses\" value=\"false\" />\n      <option name=\"m_limit\" value=\"15\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassEscapesItsScope\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassHasNoToStringMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"excludeClassNames\" value=\"\" />\n      <option name=\"excludeException\" value=\"true\" />\n      <option name=\"excludeDeprecated\" value=\"true\" />\n      <option name=\"excludeEnum\" value=\"false\" />\n      <option name=\"excludeAbstract\" value=\"false\" />\n      <option name=\"excludeTestCode\" value=\"false\" />\n      <option name=\"excludeInnerClasses\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassIndependentOfModule\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassInheritanceDepth\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"2\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassInitializer\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassLoaderInstantiation\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassMayBeInterface\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassNameDiffersFromFileName\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassNamePrefixedWithPackageName\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassNameSameAsAncestorName\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[A-Z][A-Za-z\\d]*\" />\n      <option name=\"m_minLength\" value=\"8\" />\n      <option name=\"m_maxLength\" value=\"64\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassNestingDepth\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"1\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassNewInstance\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassOnlyUsedInOneModule\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassOnlyUsedInOnePackage\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassReferencesSubclass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassUnconnectedToPackage\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassWithMultipleLoggers\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"loggerNamesString\" value=\"java.util.logging.Logger,org.slf4j.Logger,org.apache.commons.logging.Log,org.apache.log4j.Logger\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassWithOnlyPrivateConstructors\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassWithTooManyDependencies\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"limit\" value=\"10\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassWithTooManyDependents\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"limit\" value=\"10\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassWithTooManyTransitiveDependencies\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"limit\" value=\"35\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassWithTooManyTransitiveDependents\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"limit\" value=\"35\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassWithoutConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ClassWithoutLogger\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"loggerNamesString\" value=\"java.util.logging.Logger,org.slf4j.Logger,org.apache.commons.logging.Log,org.apache.log4j.Logger\" />\n      <option name=\"ignoreSuperLoggers\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ClassWithoutNoArgConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreClassesWithNoConstructors\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"CloneCallsConstructors\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CloneInNonCloneableClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CloneReturnsClassType\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CloneableClassInSecureContext\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CloneableImplementsClone\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreCloneableDueToInheritance\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"CollectionAddAllCanBeReplacedWithConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CollectionContainsUrl\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CollectionsFieldAccessReplaceableByMethodCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CollectionsMustHaveInitialCapacity\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ComparableImplementedButEqualsNotOverridden\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ComparatorNotSerializable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CompareToUsesNonFinalVariable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ComparisonOfShortAndChar\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ComparisonToNaN\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConditionSignal\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConditionalExpression\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreSimpleAssignmentsAndReturns\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ConditionalExpressionWithIdenticalBranches\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConfusingElse\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"reportWhenNoStatementFollow\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ConfusingFloatingPointLiteral\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConfusingMainMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConfusingOctalEscape\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConnectionResource\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConstantAssertCondition\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConstantDeclaredInAbstractClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConstantDeclaredInInterface\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConstantJUnitAssertArgument\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConstantMathCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConstantNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"onlyCheckImmutables\" value=\"false\" />\n      <option name=\"m_regex\" value=\"[A-Z][A-Z_\\d]*\" />\n      <option name=\"m_minLength\" value=\"5\" />\n      <option name=\"m_maxLength\" value=\"32\" />\n    </inspection_tool>\n    <inspection_tool class=\"ConstantOnLHSOfComparison\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConstantOnRHSOfComparison\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConstantValueVariableUse\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConstructorCount\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreDeprecatedConstructors\" value=\"false\" />\n      <option name=\"m_limit\" value=\"5\" />\n    </inspection_tool>\n    <inspection_tool class=\"ContinueStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ContinueStatementWithLabel\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ControlFlowStatementWithoutBraces\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConvertAnnotations\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConvertJavadoc\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ConvertOldAnnotations\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CovariantCompareTo\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CovariantEquals\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CustomClassloader\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CustomSecurityManager\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CyclicClassDependency\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CyclicPackageDependency\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"CyclomaticComplexity\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"10\" />\n    </inspection_tool>\n    <inspection_tool class=\"DanglingJavadoc\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DateToString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DeclareCollectionAsInterface\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreLocalVariables\" value=\"false\" />\n      <option name=\"ignorePrivateMethodsAndFields\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"DefaultNotLastCaseInSwitch\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DeserializableClassInSecureContext\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DesignForExtension\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DisjointPackage\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DivideByZero\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DollarSignInName\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DoubleBraceInitialization\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DoubleCheckedLocking\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreOnVolatileVariables\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"DoubleLiteralMayBeFloatLiteral\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DriverManagerGetConnection\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DuplicateBooleanBranch\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"DuplicateCondition\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreMethodCalls\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"DuplicateStringLiteralInspection\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"MIN_STRING_LENGTH\" value=\"5\" />\n      <option name=\"IGNORE_PROPERTY_KEYS\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"DynamicRegexReplaceableByCompiledPattern\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ElementOnlyUsedFromTestCode\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"EmptyClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignorableAnnotations\">\n        <value />\n      </option>\n      <option name=\"ignoreClassWithParameterization\" value=\"false\" />\n      <option name=\"ignoreThrowables\" value=\"true\" />\n      <option name=\"commentsAreContent\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"EmptyDirectory\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"EmptyInitializer\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"EmptySynchronizedStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"EnumAsName\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"EnumClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"EnumSwitchStatementWhichMissesCases\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreSwitchStatementsWithDefault\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"EnumeratedClassNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[A-Z][A-Za-z\\d]*\" />\n      <option name=\"m_minLength\" value=\"8\" />\n      <option name=\"m_maxLength\" value=\"64\" />\n    </inspection_tool>\n    <inspection_tool class=\"EnumeratedConstantNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[A-Z][A-Z_\\d]*\" />\n      <option name=\"m_minLength\" value=\"5\" />\n      <option name=\"m_maxLength\" value=\"32\" />\n    </inspection_tool>\n    <inspection_tool class=\"EnumerationCanBeIteration\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"EqualsAndHashcode\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"EqualsCalledOnEnumConstant\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"EqualsHashCodeCalledOnUrl\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"EqualsReplaceableByObjectsCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"EqualsUsesNonFinalVariable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ErrorRethrown\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ExceptionFromCatchWhichDoesntWrap\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreGetMessage\" value=\"false\" />\n      <option name=\"ignoreCantWrap\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ExceptionNameDoesntEndWithException\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ExpectedExceptionNeverThrown\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ExpectedExceptionNeverThrownTestNG\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ExtendsConcreteCollection\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ExtendsThread\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ExtendsThrowable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ExtendsUtilityClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ExternalizableWithSerializationMethods\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"FallthruInSwitchStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"FeatureEnvy\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreTestCases\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"FieldAccessNotGuarded\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"FieldAccessedSynchronizedAndUnsynchronized\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"countGettersAndSetters\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"FieldCount\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_countConstantFields\" value=\"false\" />\n      <option name=\"m_considerStaticFinalFieldsConstant\" value=\"false\" />\n      <option name=\"myCountEnumConstants\" value=\"false\" />\n      <option name=\"m_limit\" value=\"10\" />\n    </inspection_tool>\n    <inspection_tool class=\"FieldHasSetterButNoGetter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"FieldHidesSuperclassField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreInvisibleFields\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"FieldMayBeFinal\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"FieldMayBeStatic\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"FieldNotUsedInToString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"FieldRepeatedlyAccessed\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreFinalFields\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"FinalClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"FinalMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"FinalMethodInFinalClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"Finalize\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreTrivialFinalizers\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"FinalizeNotProtected\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"FloatingPointEquality\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ForLoopReplaceableByWhile\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreLoopsWithoutConditions\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ForLoopThatDoesntUseLoopVariable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ForLoopWithMissingComponent\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreCollectionLoops\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ForeachStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"HardCodedStringLiteral\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreForAssertStatements\" value=\"true\" />\n      <option name=\"ignoreForExceptionConstructors\" value=\"true\" />\n      <option name=\"ignoreForSpecifiedExceptionConstructors\" value=\"\" />\n      <option name=\"ignoreForJUnitAsserts\" value=\"true\" />\n      <option name=\"ignoreForClassReferences\" value=\"true\" />\n      <option name=\"ignoreForPropertyKeyReferences\" value=\"true\" />\n      <option name=\"ignoreForNonAlpha\" value=\"true\" />\n      <option name=\"ignoreAssignedToConstants\" value=\"false\" />\n      <option name=\"ignoreToString\" value=\"false\" />\n      <option name=\"nonNlsCommentPattern\" value=\"NON-NLS\" />\n    </inspection_tool>\n    <inspection_tool class=\"HardcodedFileSeparators\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_recognizeExampleMediaType\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"HardcodedLineSeparators\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"HashCodeUsesNonFinalVariable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"HibernateResource\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"insideTryAllowed\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"HtmlTagCanBeJavadocTag\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"IOResource\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoredTypesString\" value=\"java.io.ByteArrayOutputStream,java.io.ByteArrayInputStream,java.io.StringBufferInputStream,java.io.CharArrayWriter,java.io.CharArrayReader,java.io.StringWriter,java.io.StringReader\" />\n      <option name=\"insideTryAllowed\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"IfMayBeConditional\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"IfStatementWithIdenticalBranches\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"IfStatementWithTooManyBranches\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"3\" />\n    </inspection_tool>\n    <inspection_tool class=\"IgnoredJUnitTest\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ImplicitCallToSuper\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreForObjectSubclasses\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ImplicitDefaultCharsetUsage\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ImplicitNumericConversion\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreWideningConversions\" value=\"false\" />\n      <option name=\"ignoreCharConversions\" value=\"false\" />\n      <option name=\"ignoreConstantConversions\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"InconsistentLanguageLevel\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"IncrementDecrementUsedAsExpression\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"InnerClassMayBeStatic\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"InnerClassOnInterface\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreInnerInterfaces\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"InnerClassReferencedViaSubclass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"InnerClassVariableHidesOuterClassVariable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreInvisibleFields\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"InstanceGuardedByStatic\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"InstanceMethodNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[a-z][A-Za-z\\d]*\" />\n      <option name=\"m_minLength\" value=\"4\" />\n      <option name=\"m_maxLength\" value=\"32\" />\n    </inspection_tool>\n    <inspection_tool class=\"InstanceVariableInitialization\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignorePrimitives\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"InstanceVariableNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"m_[a-z][A-Za-z\\d]*\" />\n      <option name=\"m_minLength\" value=\"5\" />\n      <option name=\"m_maxLength\" value=\"32\" />\n    </inspection_tool>\n    <inspection_tool class=\"InstanceVariableOfConcreteClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"InstanceVariableUninitializedUse\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignorePrimitives\" value=\"false\" />\n      <option name=\"annotationNamesString\" value=\"\" />\n    </inspection_tool>\n    <inspection_tool class=\"InstanceofCatchParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"InstanceofChain\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreInstanceofOnLibraryClasses\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"InstanceofIncompatibleInterface\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"InstanceofInterfaces\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"InstanceofThis\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"InstantiationOfUtilityClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"IntLiteralMayBeLongLiteral\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"IntegerDivisionInFloatingPointContext\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"IntegerMultiplicationImplicitCastToLong\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreNonOverflowingCompileTimeConstants\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"InterfaceMayBeAnnotatedFunctional\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"InterfaceNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[A-Z][A-Za-z\\d]*\" />\n      <option name=\"m_minLength\" value=\"8\" />\n      <option name=\"m_maxLength\" value=\"64\" />\n    </inspection_tool>\n    <inspection_tool class=\"InterfaceNeverImplemented\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreInterfacesThatOnlyDeclareConstants\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"InterfaceWithOnlyOneDirectInheritor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"IteratorHasNextCallsIteratorNext\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"IteratorNextDoesNotThrowNoSuchElementException\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"JDBCExecuteWithNonConstantString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"JDBCPrepareStatementWithNonConstantString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"JDBCResource\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"insideTryAllowed\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"JNDIResource\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"insideTryAllowed\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"JUnit3MethodNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"JUnit3StyleTestMethodInJUnit4Class\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"JUnit4MethodNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"JUnitAbstractTestClassNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[A-Z][A-Za-z\\d]*TestCase\" />\n      <option name=\"m_minLength\" value=\"12\" />\n      <option name=\"m_maxLength\" value=\"64\" />\n    </inspection_tool>\n    <inspection_tool class=\"JUnitDatapoint\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"JUnitRule\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"JUnitTestClassNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[A-Z][A-Za-z\\d]*Test\" />\n      <option name=\"m_minLength\" value=\"8\" />\n      <option name=\"m_maxLength\" value=\"64\" />\n    </inspection_tool>\n    <inspection_tool class=\"JUnitTestNG\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"JavaLangImport\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"JavaLangReflect\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"KeySetIterationMayUseEntrySet\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LabeledStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LambdaParameterHidingMemberVariable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LambdaParameterNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LambdaUnfriendlyMethodOverload\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LawOfDemeter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreLibraryCalls\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"LengthOneStringInIndexOf\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LengthOneStringsInConcatenation\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LimitedScopeInnerClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ListIndexOfReplaceableByContains\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ListenerMayUseAdapter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"checkForEmptyMethods\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"LiteralAsArgToStringEquals\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LoadLibraryWithNonConstantString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LocalCanBeFinal\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"REPORT_VARIABLES\" value=\"true\" />\n      <option name=\"REPORT_PARAMETERS\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"LocalVariableHidingMemberVariable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreInvisibleFields\" value=\"true\" />\n      <option name=\"m_ignoreStaticMethods\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"LocalVariableNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreForLoopParameters\" value=\"false\" />\n      <option name=\"m_ignoreCatchParameters\" value=\"false\" />\n      <option name=\"m_regex\" value=\"[a-z][A-Za-z\\d]*\" />\n      <option name=\"m_minLength\" value=\"1\" />\n      <option name=\"m_maxLength\" value=\"20\" />\n    </inspection_tool>\n    <inspection_tool class=\"LocalVariableOfConcreteClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LogStatementGuardedByLogCondition\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LoggerInitializedWithForeignClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"loggerClassName\" value=\"org.apache.log4j.Logger,org.slf4j.LoggerFactory,org.apache.commons.logging.LogFactory,java.util.logging.Logger\" />\n      <option name=\"loggerFactoryMethodName\" value=\"getLogger,getLogger,getLog,getLogger\" />\n    </inspection_tool>\n    <inspection_tool class=\"LoggingConditionDisagreesWithLogStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"LoopConditionNotUpdatedInsideLoop\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreIterators\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"LoopWithImplicitTerminationCondition\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MagicCharacter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MagicNumber\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MapReplaceableByEnumMap\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MarkerInterface\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodCallInLoopCondition\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodCanBeVariableArityMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodCount\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"20\" />\n      <option name=\"ignoreGettersAndSetters\" value=\"false\" />\n      <option name=\"ignoreOverridingMethods\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"MethodCoupling\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_includeJavaClasses\" value=\"false\" />\n      <option name=\"m_includeLibraryClasses\" value=\"false\" />\n      <option name=\"m_limit\" value=\"10\" />\n    </inspection_tool>\n    <inspection_tool class=\"MethodMayBeStatic\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_onlyPrivateOrFinal\" value=\"false\" />\n      <option name=\"m_ignoreEmptyMethods\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"MethodMayBeSynchronized\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodNameSameAsParentName\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodNamesDifferOnlyByCase\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodOnlyUsedFromInnerClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreMethodsAccessedFromAnonymousClass\" value=\"false\" />\n      <option name=\"ignoreStaticMethodsFromNonStaticInnerClass\" value=\"false\" />\n      <option name=\"onlyReportStaticMethods\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"MethodOverloadsParentMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodOverridesPackageLocalMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodOverridesPrivateMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodOverridesStaticMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodReturnAlwaysConstant\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodReturnOfConcreteClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MethodWithMultipleLoops\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MigrateAssertToMatcherAssert\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MisorderedAssertEqualsArgumentsTestNG\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MisorderedAssertEqualsParameters\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MissingDeprecatedAnnotation\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MissingOverrideAnnotation\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreObjectMethods\" value=\"true\" />\n      <option name=\"ignoreAnonymousClassMethods\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"MissingPackageInfo\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MissortedModifiers\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_requireAnnotationsFirst\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"MisspelledCompareTo\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MisspelledEquals\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MisspelledHashcode\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MisspelledSetUp\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MisspelledTearDown\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MisspelledToString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ModuleWithTooFewClasses\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"limit\" value=\"10\" />\n    </inspection_tool>\n    <inspection_tool class=\"ModuleWithTooManyClasses\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"limit\" value=\"100\" />\n    </inspection_tool>\n    <inspection_tool class=\"MultipleDeclaration\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreForLoopDeclarations\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"MultipleExceptionsDeclaredOnTestMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MultipleReturnPointsPerMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreGuardClauses\" value=\"false\" />\n      <option name=\"ignoreEqualsMethod\" value=\"false\" />\n      <option name=\"m_limit\" value=\"1\" />\n    </inspection_tool>\n    <inspection_tool class=\"MultipleTopLevelClassesInFile\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MultipleTypedDeclaration\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"MultiplyOrDivideByPowerOfTwo\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"checkDivision\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"NakedNotify\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NativeMethodNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NativeMethods\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NegatedConditional\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreNegatedNullComparison\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"NegatedConditionalExpression\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NegatedEqualityExpression\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NegatedIfElse\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreNegatedNullComparison\" value=\"true\" />\n      <option name=\"m_ignoreNegatedZeroComparison\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"NegativelyNamedBooleanVariable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NestedAssignment\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NestedConditionalExpression\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NestedMethodCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreFieldInitializations\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"NestedSwitchStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NestedSynchronizedStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NestedTryStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NestingDepth\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"5\" />\n    </inspection_tool>\n    <inspection_tool class=\"NewExceptionWithoutArguments\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonAtomicOperationOnVolatileField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonBooleanMethodNameMayNotStartWithQuestion\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"questionString\" value=\"add,are,can,check,contains,could,endsWith,equals,has,is,matches,must,put,remove,shall,should,startsWith,was,were,will,would\" />\n      <option name=\"ignoreBooleanMethods\" value=\"false\" />\n      <option name=\"onlyWarnOnBaseMethods\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"NonCommentSourceStatements\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"30\" />\n    </inspection_tool>\n    <inspection_tool class=\"NonExceptionNameEndsWithException\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonFinalClone\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonFinalFieldInEnum\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonFinalFieldInImmutable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonFinalFieldOfException\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonFinalGuard\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonFinalStaticVariableUsedInClassInitialization\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonFinalUtilityClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonProtectedConstructorInAbstractClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreNonPublicClasses\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"NonPublicClone\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonReproducibleMathCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonSerializableFieldInSerializableClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignorableAnnotations\">\n        <value />\n      </option>\n      <option name=\"ignoreAnonymousInnerClasses\" value=\"false\" />\n      <option name=\"superClassString\" value=\"\" />\n    </inspection_tool>\n    <inspection_tool class=\"NonSerializableObjectBoundToHttpSession\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonSerializableObjectPassedToObjectStream\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonSerializableWithSerialVersionUIDField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonSerializableWithSerializationMethods\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonShortCircuitBoolean\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonStaticFinalLogger\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"loggerClassName\" value=\"\" />\n    </inspection_tool>\n    <inspection_tool class=\"NonStaticInnerClassInSecureContext\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonSynchronizedMethodOverridesSynchronizedMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NonThreadSafeLazyInitialization\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NoopMethodInAbstractClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NotifyCalledOnCondition\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NotifyNotInSynchronizedContext\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NotifyWithoutCorrespondingWait\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NullThrown\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"NumericToString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ObjectAllocationInLoop\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ObjectEquality\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreEnums\" value=\"true\" />\n      <option name=\"m_ignoreClassObjects\" value=\"false\" />\n      <option name=\"m_ignorePrivateConstructors\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ObjectNotify\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ObjectToString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ObsoleteCollection\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreRequiredObsoleteCollectionTypes\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"OctalAndDecimalIntegersMixed\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"OnDemandImport\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"OptionalContainsCollection\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"OverloadedMethodsWithSameNumberOfParameters\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreInconvertibleTypes\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"OverloadedVarargsMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"OverlyComplexArithmeticExpression\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"6\" />\n    </inspection_tool>\n    <inspection_tool class=\"OverlyComplexBooleanExpression\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"3\" />\n      <option name=\"m_ignorePureConjunctionsDisjunctions\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"OverlyLargePrimitiveArrayInitializer\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"64\" />\n    </inspection_tool>\n    <inspection_tool class=\"OverlyStrongTypeCast\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreInMatchingInstanceof\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"OverridableMethodCallDuringObjectConstruction\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"OverriddenMethodCallDuringObjectConstruction\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PackageDotHtmlMayBePackageInfo\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PackageInMultipleModules\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PackageInfoWithoutPackage\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PackageNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[a-z]*\" />\n      <option name=\"m_minLength\" value=\"3\" />\n      <option name=\"m_maxLength\" value=\"16\" />\n    </inspection_tool>\n    <inspection_tool class=\"PackageVisibleField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PackageVisibleInnerClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreEnums\" value=\"false\" />\n      <option name=\"ignoreInterfaces\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"PackageWithTooFewClasses\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"limit\" value=\"3\" />\n    </inspection_tool>\n    <inspection_tool class=\"PackageWithTooManyClasses\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"limit\" value=\"10\" />\n    </inspection_tool>\n    <inspection_tool class=\"ParameterHidingMemberVariable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreInvisibleFields\" value=\"true\" />\n      <option name=\"m_ignoreStaticMethodParametersHidingInstanceFields\" value=\"true\" />\n      <option name=\"m_ignoreForConstructors\" value=\"false\" />\n      <option name=\"m_ignoreForPropertySetters\" value=\"false\" />\n      <option name=\"m_ignoreForAbstractMethods\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ParameterNameDiffersFromOverriddenParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreSingleCharacterNames\" value=\"false\" />\n      <option name=\"m_ignoreOverridesOfLibraryMethods\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ParameterNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[a-z][A-Za-z\\d]*\" />\n      <option name=\"m_minLength\" value=\"1\" />\n      <option name=\"m_maxLength\" value=\"20\" />\n    </inspection_tool>\n    <inspection_tool class=\"ParameterOfConcreteClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ParameterTypePreventsOverriding\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ParameterizedParametersStaticCollection\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ParametersPerConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ParametersPerMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"5\" />\n    </inspection_tool>\n    <inspection_tool class=\"PlaceholderCountMatchesArgumentCount\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PointlessIndexOfComparison\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PointlessNullCheck\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PrivateMemberAccessBetweenOuterAndInnerClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ProblematicVarargsMethodOverride\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PropertyValueSetToItself\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ProtectedField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ProtectedInnerClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreEnums\" value=\"false\" />\n      <option name=\"ignoreInterfaces\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ProtectedMemberInFinalClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PublicConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PublicConstructorInNonPublicClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PublicField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreEnums\" value=\"false\" />\n      <option name=\"ignorableAnnotations\">\n        <value />\n      </option>\n    </inspection_tool>\n    <inspection_tool class=\"PublicFieldAccessedInSynchronizedContext\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PublicInnerClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreEnums\" value=\"false\" />\n      <option name=\"ignoreInterfaces\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"PublicMethodNotExposedInInterface\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignorableAnnotations\">\n        <value />\n      </option>\n      <option name=\"onlyWarnIfContainingClassImplementsAnInterface\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"PublicMethodWithoutLogging\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"loggerClassName\" value=\"\" />\n    </inspection_tool>\n    <inspection_tool class=\"PublicStaticArrayField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"PublicStaticCollectionField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"QuestionableName\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"nameString\" value=\"aa,abc,bad,bar,bar2,baz,baz1,baz2,baz3,bb,blah,bogus,bool,cc,dd,defau1t,dummy,dummy2,ee,fa1se,ff,foo,foo1,foo2,foo3,foobar,four,fred,fred1,fred2,gg,hh,hello,hello1,hello2,hello3,ii,nu11,one,silly,silly2,string,two,that,then,three,whi1e,var\" />\n    </inspection_tool>\n    <inspection_tool class=\"RandomDoubleForRandomInteger\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"RawUseOfParameterizedType\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ReadObjectAndWriteObjectPrivate\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ReadObjectInitialization\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ReadResolveAndWriteReplaceProtected\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"RecordStoreResource\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"RedundantFieldInitialization\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"RedundantImplements\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreSerializable\" value=\"false\" />\n      <option name=\"ignoreCloneable\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"RedundantMethodOverride\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"RedundantThrowsDeclaration\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ReplaceAssignmentWithOperatorAssignment\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreLazyOperators\" value=\"true\" />\n      <option name=\"ignoreObscureOperators\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ResultOfObjectAllocationIgnored\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ResultSetIndexZero\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ReturnNull\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_reportObjectMethods\" value=\"true\" />\n      <option name=\"m_reportArrayMethods\" value=\"true\" />\n      <option name=\"m_reportCollectionMethods\" value=\"true\" />\n      <option name=\"m_ignorePrivateMethods\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ReturnOfCollectionField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignorePrivateMethods\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"ReturnOfDateField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ReturnOfInnerClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ReturnThis\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ReuseOfLocalVariable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"RuntimeExec\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"RuntimeExecWithNonConstantString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SafeLock\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SamePackageImport\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SerialPersistentFieldsWithWrongSignature\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SerialVersionUIDNotStaticFinal\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SerializableClassInSecureContext\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SerializableHasSerialVersionUIDField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreAnonymousInnerClasses\" value=\"false\" />\n      <option name=\"superClassString\" value=\"\" />\n    </inspection_tool>\n    <inspection_tool class=\"SerializableHasSerializationMethods\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreAnonymousInnerClasses\" value=\"false\" />\n      <option name=\"superClassString\" value=\"\" />\n    </inspection_tool>\n    <inspection_tool class=\"SerializableInnerClassHasSerialVersionUIDField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreAnonymousInnerClasses\" value=\"false\" />\n      <option name=\"superClassString\" value=\"\" />\n    </inspection_tool>\n    <inspection_tool class=\"SerializableInnerClassWithNonSerializableOuterClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreAnonymousInnerClasses\" value=\"false\" />\n      <option name=\"superClassString\" value=\"\" />\n    </inspection_tool>\n    <inspection_tool class=\"SerializableStoresNonSerializable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SerializableWithUnconstructableAncestor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SetReplaceableByEnumSet\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SetupCallsSuperSetup\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SetupIsPublicVoidNoArg\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SharedThreadLocalRandom\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SignalWithoutCorrespondingAwait\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SimpleDateFormatWithoutLocale\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SimplifiableAnnotation\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SimplifiableEqualsExpression\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SimplifiableJUnitAssertion\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SingleCharacterStartsWith\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SingleClassImport\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"Singleton\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SizeReplaceableByIsEmpty\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SleepWhileHoldingLock\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SocketResource\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"insideTryAllowed\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"StandardVariableNames\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StaticCallOnSubclass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StaticCollection\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreWeakCollections\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"StaticFieldReferenceOnSubclass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StaticGuardedByInstance\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StaticImport\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StaticInheritance\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StaticMethodNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[a-z][A-Za-z\\d]*\" />\n      <option name=\"m_minLength\" value=\"4\" />\n      <option name=\"m_maxLength\" value=\"32\" />\n    </inspection_tool>\n    <inspection_tool class=\"StaticMethodOnlyUsedInOneClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StaticNonFinalField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StaticSuite\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StaticVariableInitialization\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignorePrimitives\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"StaticVariableNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"checkMutableFinals\" value=\"false\" />\n      <option name=\"m_regex\" value=\"s_[a-z][A-Za-z\\d]*\" />\n      <option name=\"m_minLength\" value=\"5\" />\n      <option name=\"m_maxLength\" value=\"32\" />\n    </inspection_tool>\n    <inspection_tool class=\"StaticVariableOfConcreteClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StaticVariableUninitializedUse\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignorePrimitives\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"StringBufferField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringBufferMustHaveInitialCapacity\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringBufferToStringInConcatenation\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringCompareTo\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringConcatenation\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreAsserts\" value=\"false\" />\n      <option name=\"ignoreSystemOuts\" value=\"false\" />\n      <option name=\"ignoreSystemErrs\" value=\"false\" />\n      <option name=\"ignoreThrowableArguments\" value=\"false\" />\n      <option name=\"ignoreConstantInitializers\" value=\"false\" />\n      <option name=\"ignoreInTestCode\" value=\"false\" />\n      <option name=\"ignoreInToString\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"StringConcatenationArgumentToLogCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringConcatenationInFormatCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringConcatenationInLoops\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreUnlessAssigned\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"StringConcatenationInMessageFormatCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringConcatenationMissingWhitespace\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringEquals\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringEqualsEmptyString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringEqualsIgnoreCase\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringReplaceableByStringBuffer\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"onlyWarnOnLoop\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"StringToUpperWithoutLocale\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"StringTokenizer\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SubtractionInCompareTo\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SuperClassHasFrequentlyUsedInheritors\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SuperTearDownInFinally\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SuppressionAnnotation\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SuspiciousArrayCast\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SuspiciousGetterSetter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SuspiciousIndentAfterControlStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SuspiciousLiteralUnderscore\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SwitchStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SwitchStatementDensity\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"20\" />\n    </inspection_tool>\n    <inspection_tool class=\"SwitchStatementWithConfusingDeclaration\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SwitchStatementWithTooFewBranches\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"2\" />\n    </inspection_tool>\n    <inspection_tool class=\"SwitchStatementWithTooManyBranches\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"10\" />\n    </inspection_tool>\n    <inspection_tool class=\"SwitchStatementsWithoutDefault\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreFullyCoveredEnums\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"SynchronizationOnStaticField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SynchronizeOnLock\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SynchronizeOnThis\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SynchronizedMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_includeNativeMethods\" value=\"true\" />\n      <option name=\"ignoreSynchronizedSuperMethods\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"SynchronizedOnLiteralObject\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SystemExit\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SystemGC\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SystemGetenv\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SystemOutErr\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SystemProperties\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SystemRunFinalizersOnExit\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"SystemSetSecurityManager\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TailRecursion\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TeardownCallsSuperTeardown\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TeardownIsPublicVoidNoArg\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TestCaseInProductCode\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TestCaseWithConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TestCaseWithNoTestMethods\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreSupers\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"TestMethodInProductCode\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TestMethodIsPublicVoidNoArg\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TestMethodWithoutAssertion\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"assertionMethods\" value=\"org.junit.Assert,assert.*|fail.*,junit.framework.Assert,assert.*|fail.*,org.mockito.Mockito,verify.*,org.mockito.InOrder,verify,org.junit.rules.ExpectedException,expect.*,org.hamcrest.MatcherAssert,assertThat\" />\n      <option name=\"assertKeywordIsAssertion\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"TestNGMethodNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TestOnlyProblems\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TextLabelInSwitchStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThisEscapedInConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThreadDeathRethrown\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThreadDumpStack\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThreadLocalNotStaticFinal\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThreadPriority\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThreadRun\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThreadStartInConstruction\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThreadStopSuspendResume\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThreadWithDefaultRunMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThreadYield\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThreeNegationsPerMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreInEquals\" value=\"true\" />\n      <option name=\"ignoreInAssert\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ThrowCaughtLocally\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreRethrownExceptions\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ThrowablePrintStackTrace\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ThrownExceptionsPerMethod\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_limit\" value=\"3\" />\n    </inspection_tool>\n    <inspection_tool class=\"ThrowsRuntimeException\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TimeToString\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"ToArrayCallWithZeroLengthArrayArgument\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TooBroadCatch\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TooBroadScope\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_allowConstructorAsInitializer\" value=\"false\" />\n      <option name=\"m_onlyLookAtBlocks\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"TooBroadThrows\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TransientFieldInNonSerializableClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TransientFieldNotInitialized\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TrivialStringConcatenation\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TypeMayBeWeakened\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"useRighthandTypeAsWeakestTypeInAssignments\" value=\"true\" />\n      <option name=\"useParameterizedTypeForCollectionMethods\" value=\"true\" />\n      <option name=\"doNotWeakenToJavaLangObject\" value=\"true\" />\n      <option name=\"onlyWeakentoInterface\" value=\"true\" />\n    </inspection_tool>\n    <inspection_tool class=\"TypeParameterExtendsFinalClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"TypeParameterNamingConvention\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_regex\" value=\"[A-Z][A-Za-z\\d]*\" />\n      <option name=\"m_minLength\" value=\"1\" />\n      <option name=\"m_maxLength\" value=\"1\" />\n    </inspection_tool>\n    <inspection_tool class=\"UnaryPlus\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UncheckedExceptionClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnclearBinaryExpression\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnconditionalWait\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnconstructableTestCase\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UndeclaredTests\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnknownGuard\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessarilyQualifiedInnerClassAccess\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreReferencesNeedingImport\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"UnnecessarilyQualifiedStaticUsage\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreStaticFieldAccesses\" value=\"false\" />\n      <option name=\"m_ignoreStaticMethodCalls\" value=\"false\" />\n      <option name=\"m_ignoreStaticAccessFromStaticContext\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"UnnecessarilyQualifiedStaticallyImportedElement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryBlockStatement\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreSwitchBranches\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"UnnecessaryCallToStringValueOf\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryConstantArrayCreationExpression\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryDefault\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryExplicitNumericCast\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryFinalOnLocalVariableOrParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryFullyQualifiedName\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreJavadoc\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"UnnecessaryInheritDoc\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryJavaDocLink\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreInlineLinkToSuper\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"UnnecessaryParentheses\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreClarifyingParentheses\" value=\"false\" />\n      <option name=\"ignoreParenthesesOnConditionals\" value=\"false\" />\n      <option name=\"ignoreParenthesesOnLambdaParameter\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"UnnecessaryQualifierForThis\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessarySuperConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessarySuperQualifier\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryThis\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryToStringCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryUnaryMinus\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnnecessaryUnicodeEscape\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnpredictableBigDecimalConstructorCall\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreReferences\" value=\"true\" />\n      <option name=\"ignoreComplexLiterals\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"UnqualifiedFieldAccess\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnqualifiedInnerClassAccess\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreReferencesToLocalInnerClasses\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"UnqualifiedMethodAccess\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnqualifiedStaticUsage\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreStaticFieldAccesses\" value=\"false\" />\n      <option name=\"m_ignoreStaticMethodCalls\" value=\"false\" />\n      <option name=\"m_ignoreStaticAccessFromStaticContext\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"UnsecureRandomNumberGeneration\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnusedCatchParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"m_ignoreCatchBlocksWithComments\" value=\"false\" />\n      <option name=\"m_ignoreTestCases\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"UnusedImport\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UnusedLibrary\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UpperCaseFieldNameNotConstant\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UseOfAWTPeerClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UseOfAnotherObjectsPrivateField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreSameClass\" value=\"false\" />\n      <option name=\"ignoreEquals\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"UseOfClone\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UseOfJDBCDriverClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UseOfObsoleteAssert\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UseOfObsoleteDateTimeApi\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UseOfProcessBuilder\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UseOfPropertiesAsHashtable\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UseOfSunClasses\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UtilityClass\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignorableAnnotations\">\n        <value />\n      </option>\n    </inspection_tool>\n    <inspection_tool class=\"UtilityClassCanBeEnum\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UtilityClassWithPublicConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"UtilityClassWithoutPrivateConstructor\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignorableAnnotations\">\n        <value />\n      </option>\n      <option name=\"ignoreClassesWithOnlyMain\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"VarargParameter\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"VariableNotUsedInsideIf\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"VolatileArrayField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"VolatileLongOrDoubleField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"WaitCalledOnCondition\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"WaitNotInLoop\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"WaitNotInSynchronizedContext\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"WaitOrAwaitWithoutTimeout\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"WaitWhileHoldingTwoLocks\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"WaitWithoutCorrespondingNotify\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n    <inspection_tool class=\"WhileLoopSpinsOnField\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\">\n      <option name=\"ignoreNonEmtpyLoops\" value=\"false\" />\n    </inspection_tool>\n    <inspection_tool class=\"ZeroLengthArrayInitialization\" enabled=\"true\" level=\"WARNING\" enabled_by_default=\"true\" />\n  </profile>\n</component>"
  },
  {
    "path": ".idea/inspectionProfiles/profiles_settings.xml",
    "content": "<component name=\"InspectionProjectProfileManager\">\n  <settings>\n    <option name=\"PROJECT_PROFILE\" value=\"Project Default\" />\n    <option name=\"USE_PROJECT_PROFILE\" value=\"true\" />\n    <version value=\"1.0\" />\n  </settings>\n</component>"
  },
  {
    "path": ".idea/libraries/adapter_rxjava_2_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"adapter-rxjava-2.1.0\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.retrofit2/adapter-rxjava/2.1.0/693eddc23e87ab13f9cf5001707ce8e7e1d1ff01/adapter-rxjava-2.1.0.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.retrofit2/adapter-rxjava/2.1.0/19baad40e6195ee49086cd08bde2883653acbd16/adapter-rxjava-2.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/animated_vector_drawable_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"animated-vector-drawable-25.1.0\">\n    <CLASSES>\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/animated-vector-drawable/25.1.0/res\" />\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/animated-vector-drawable/25.1.0/jars/classes.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/animated-vector-drawable/25.1.0/animated-vector-drawable-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/appcompat_v7_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"appcompat-v7-25.1.0\">\n    <ANNOTATIONS>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/25.1.0/annotations.zip!/\" />\n    </ANNOTATIONS>\n    <CLASSES>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/25.1.0/jars/classes.jar!/\" />\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/25.1.0/res\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/appcompat-v7/25.1.0/appcompat-v7-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/butterknife_8_4_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"butterknife-8.4.0\">\n    <CLASSES>\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.jakewharton/butterknife/8.4.0/res\" />\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.jakewharton/butterknife/8.4.0/jars/classes.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.jakewharton/butterknife/8.4.0/bc76ce8e6c5cf2c92ca6efbbc8b70403d3fd061e/butterknife-8.4.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/butterknife_annotations_8_4_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"butterknife-annotations-8.4.0\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.jakewharton/butterknife-annotations/8.4.0/ea392375cf9ff59234a82e7928a204215ccc98cd/butterknife-annotations-8.4.0.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.jakewharton/butterknife-annotations/8.4.0/7a16d82461021005f75be89293341fd3cef73bfc/butterknife-annotations-8.4.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/converter_gson_2_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"converter-gson-2.1.0\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.retrofit2/converter-gson/2.1.0/aa557d71ead91cbf26e0c316a0f593d168303309/converter-gson-2.1.0.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.retrofit2/converter-gson/2.1.0/e2c38b918400123c0e2a98dfd3f412c552bcf238/converter-gson-2.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/design_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"design-25.1.0\">\n    <ANNOTATIONS>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/design/25.1.0/annotations.zip!/\" />\n    </ANNOTATIONS>\n    <CLASSES>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/design/25.1.0/jars/classes.jar!/\" />\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/design/25.1.0/res\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/design/25.1.0/design-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/espresso_core_2_2_2.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"espresso-core-2.2.2\">\n    <CLASSES>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test.espresso/espresso-core/2.2.2/jars/classes.jar!/\" />\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test.espresso/espresso-core/2.2.2/res\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/test/espresso/espresso-core/2.2.2/espresso-core-2.2.2-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/espresso_idling_resource_2_2_2.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"espresso-idling-resource-2.2.2\">\n    <CLASSES>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test.espresso/espresso-idling-resource/2.2.2/jars/classes.jar!/\" />\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test.espresso/espresso-idling-resource/2.2.2/res\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/test/espresso/espresso-idling-resource/2.2.2/espresso-idling-resource-2.2.2-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/exposed_instrumentation_api_publish_0_5.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"exposed-instrumentation-api-publish-0.5\">\n    <CLASSES>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test/exposed-instrumentation-api-publish/0.5/jars/classes.jar!/\" />\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test/exposed-instrumentation-api-publish/0.5/res\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/test/exposed-instrumentation-api-publish/0.5/exposed-instrumentation-api-publish-0.5-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/glide_3_7_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"glide-3.7.0\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.github.bumptech.glide/glide/3.7.0/9e9eeaf9948ee4d6c3ab354e8dc14368f16994a4/glide-3.7.0.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.github.bumptech.glide/glide/3.7.0/24a0b0e63af9530bcedd06ed1983a4f2f02155a3/glide-3.7.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/gson_2_7.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"gson-2.7\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.7/751f548c85fa49f330cecbb1875893f971b33c4e/gson-2.7.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.7/bbb63ca253b483da8ee53a50374593923e3de2e2/gson-2.7-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/hamcrest_core_1_3.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"hamcrest-core-1.3\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/42a25dc3219429f0e5d060061f71acb49bf010a0/hamcrest-core-1.3.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/1dc37250fbc78e23a65a67fbbaf71d2e9cbc3c0b/hamcrest-core-1.3-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/hamcrest_integration_1_3.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"hamcrest-integration-1.3\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-integration/1.3/5de0c73fef18917cd85d0ab70bb23818685e4dfd/hamcrest-integration-1.3.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES />\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/hamcrest_library_1_3.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"hamcrest-library-1.3\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-library/1.3/4785a3c21320980282f9f33d0d1264a69040538f/hamcrest-library-1.3.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES />\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/javawriter_2_1_1.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"javawriter-2.1.1\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup/javawriter/2.1.1/67ff45d9ae02e583d0f9b3432a5ebbe05c30c966/javawriter-2.1.1.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES />\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/javax_annotation_api_1_2.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"javax.annotation-api-1.2\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/javax.annotation/javax.annotation-api/1.2/479c1e06db31c432330183f5cae684163f186146/javax.annotation-api-1.2.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES />\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/javax_inject_1.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"javax.inject-1\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/javax.inject/javax.inject/1/6975da39a7040257bd51d21a231b76c915872d38/javax.inject-1.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES />\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/jsr305_2_0_1.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"jsr305-2.0.1\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/2.0.1/516c03b21d50a644d538de0f0369c620989cd8f0/jsr305-2.0.1.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES />\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/junit_4_12.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"junit-4.12\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/a6c32b40bf3d76eca54e3c601e5d1470c86fcdfa/junit-4.12-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/okhttp_3_3_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"okhttp-3.3.0\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp3/okhttp/3.3.0/2b802460eea20f8f2ad9c08c74e0f14718e88aa9/okhttp-3.3.0.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp3/okhttp/3.3.0/ce902532a348a685692095f86d14800314078813/okhttp-3.3.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/okio_1_8_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"okio-1.8.0\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/1.8.0/5ea7af56cc7c567ed9856d99efb30740e9b17ff/okio-1.8.0.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/1.8.0/3a5f5ed555660472caab77ad3acdf157db97f838/okio-1.8.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/recyclerview_v7_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"recyclerview-v7-25.1.0\">\n    <ANNOTATIONS>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/25.1.0/annotations.zip!/\" />\n    </ANNOTATIONS>\n    <CLASSES>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/25.1.0/jars/classes.jar!/\" />\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/25.1.0/res\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/recyclerview-v7/25.1.0/recyclerview-v7-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/retrofit_2_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"retrofit-2.1.0\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.retrofit2/retrofit/2.1.0/2de7cd8b95b7021b1d597f049bcb422055119f2c/retrofit-2.1.0.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.retrofit2/retrofit/2.1.0/3564ebef90ac75e61ed65ab9af0f422ce92d4afa/retrofit-2.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/rules_0_5.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"rules-0.5\">\n    <ANNOTATIONS>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test/rules/0.5/annotations.zip!/\" />\n    </ANNOTATIONS>\n    <CLASSES>\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test/rules/0.5/res\" />\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test/rules/0.5/jars/classes.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/test/rules/0.5/rules-0.5-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/runner_0_5.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"runner-0.5\">\n    <ANNOTATIONS>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test/runner/0.5/annotations.zip!/\" />\n    </ANNOTATIONS>\n    <CLASSES>\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test/runner/0.5/res\" />\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test/runner/0.5/jars/classes.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/test/runner/0.5/runner-0.5-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/rxandroid_1_2_1.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"rxandroid-1.2.1\">\n    <CLASSES>\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/io.reactivex/rxandroid/1.2.1/res\" />\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/io.reactivex/rxandroid/1.2.1/jars/classes.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/io.reactivex/rxandroid/1.2.1/da8e4eadb096aa6264d31760e8f4623cb565e36b/rxandroid-1.2.1-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/rxjava_1_2_4.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"rxjava-1.2.4\">\n    <CLASSES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/io.reactivex/rxjava/1.2.4/522cfb00b6c015b72c64ee60054b4f6338880858/rxjava-1.2.4.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/io.reactivex/rxjava/1.2.4/a4e2280742c2f7935d69f0deff2acea315010cf7/rxjava-1.2.4-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/support_annotations_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"support-annotations-25.1.0\">\n    <CLASSES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/support-annotations/25.1.0/support-annotations-25.1.0.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/support-annotations/25.1.0/support-annotations-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/support_compat_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"support-compat-25.1.0\">\n    <ANNOTATIONS>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-compat/25.1.0/annotations.zip!/\" />\n    </ANNOTATIONS>\n    <CLASSES>\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-compat/25.1.0/res\" />\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-compat/25.1.0/jars/classes.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/support-compat/25.1.0/support-compat-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/support_core_ui_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"support-core-ui-25.1.0\">\n    <ANNOTATIONS>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-core-ui/25.1.0/annotations.zip!/\" />\n    </ANNOTATIONS>\n    <CLASSES>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-core-ui/25.1.0/jars/classes.jar!/\" />\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-core-ui/25.1.0/res\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/support-core-ui/25.1.0/support-core-ui-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/support_core_utils_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"support-core-utils-25.1.0\">\n    <ANNOTATIONS>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-core-utils/25.1.0/annotations.zip!/\" />\n    </ANNOTATIONS>\n    <CLASSES>\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-core-utils/25.1.0/res\" />\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-core-utils/25.1.0/jars/classes.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/support-core-utils/25.1.0/support-core-utils-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/support_fragment_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"support-fragment-25.1.0\">\n    <ANNOTATIONS>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-fragment/25.1.0/annotations.zip!/\" />\n    </ANNOTATIONS>\n    <CLASSES>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-fragment/25.1.0/jars/classes.jar!/\" />\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-fragment/25.1.0/res\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/support-fragment/25.1.0/support-fragment-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/support_media_compat_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"support-media-compat-25.1.0\">\n    <ANNOTATIONS>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-media-compat/25.1.0/annotations.zip!/\" />\n    </ANNOTATIONS>\n    <CLASSES>\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-media-compat/25.1.0/res\" />\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-media-compat/25.1.0/jars/classes.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/support-media-compat/25.1.0/support-media-compat-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/support_v4_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"support-v4-25.1.0\">\n    <CLASSES>\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-v4/25.1.0/res\" />\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-v4/25.1.0/jars/classes.jar!/\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES />\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/support_vector_drawable_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"support-vector-drawable-25.1.0\">\n    <CLASSES>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-vector-drawable/25.1.0/jars/classes.jar!/\" />\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-vector-drawable/25.1.0/res\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/support-vector-drawable/25.1.0/support-vector-drawable-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/libraries/transition_25_1_0.xml",
    "content": "<component name=\"libraryTable\">\n  <library name=\"transition-25.1.0\">\n    <CLASSES>\n      <root url=\"jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/transition/25.1.0/jars/classes.jar!/\" />\n      <root url=\"file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/transition/25.1.0/res\" />\n    </CLASSES>\n    <JAVADOC />\n    <SOURCES>\n      <root url=\"jar://$PROJECT_DIR$/../sdk/extras/android/m2repository/com/android/support/transition/25.1.0/transition-25.1.0-sources.jar!/\" />\n    </SOURCES>\n  </library>\n</component>"
  },
  {
    "path": ".idea/vcs.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"VcsDirectoryMappings\">\n    <mapping directory=\"$PROJECT_DIR$\" vcs=\"Git\" />\n  </component>\n</project>"
  },
  {
    "path": "LICENSE",
    "content": "                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly savedState otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"{}\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright {yyyy} {name of copyright owner}\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n"
  },
  {
    "path": "README.md",
    "content": "# FlipGank\n\n[download apk](https://github.com/yiyuanliu/FlipGank/releases)\n\n一款 FlipBoard 翻页风格的 Gank.io 客户端，使用 RecyclerView 实现。\n\n<image src=\"./images/screenshot1.png\" width=\"280\"/>\n<image src=\"./images/screenshot3.png\" width=\"280\"/>\n<image src=\"./images/screenshot4.png\" width=\"280\"/>\n\n## Todo\n\n- 使用 Rxjava 2.0 \n- 添加图片下载\n- Readability\n\n## 数据来源\n\n[Gank.io](http://gank.io)\n\n## 第三方类库\n\n- [Glide](https://github.com/bumptech/glide)\n- [Okhttp](http://square.github.io/okhttp/)\n- [RxJava](https://github.com/ReactiveX/RxJava)\n- [Retrofit](https://square.github.io/retrofit/)\n- [Butterknife](http://jakewharton.github.io/butterknife/)\n\n## About me\n\nA student in Uestc. Android developer.\n\nEmail: yiyuanliu1997@gmail.com\n\n## 开源协议\n\n```\n  Copyright YiyuanLiu\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n```\n"
  },
  {
    "path": "app/.gitignore",
    "content": "/build\n"
  },
  {
    "path": "app/build.gradle",
    "content": "apply plugin: 'com.android.application'\n\nandroid {\n    compileSdkVersion 25\n    buildToolsVersion \"25.0.2\"\n    defaultConfig {\n        applicationId \"com.yiyuanliu.flipgank\"\n        minSdkVersion 21\n        targetSdkVersion 25\n        versionCode 1\n        versionName \"1.0\"\n        testInstrumentationRunner \"android.support.test.runner.AndroidJUnitRunner\"\n    }\n    buildTypes {\n        release {\n            minifyEnabled false\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\n        }\n    }\n    productFlavors {\n    }\n}\n\ndependencies {\n    compile fileTree(include: ['*.jar'], dir: 'libs')\n    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {\n        exclude group: 'com.android.support', module: 'support-annotations'\n    })\n    compile 'com.android.support:appcompat-v7:25.1.0'\n    compile 'com.android.support:recyclerview-v7:25.1.0'\n    compile 'com.squareup.retrofit2:retrofit:2.1.0'\n    compile 'com.squareup.retrofit2:converter-gson:2.1.0'\n    compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'\n    compile 'io.reactivex:rxjava:1.2.4'\n    compile 'io.reactivex:rxandroid:1.2.1'\n    compile 'com.android.support:design:25.1.0'\n    compile 'com.jakewharton:butterknife:8.4.0'\n    compile 'com.android.support:support-v4:25.1.0'\n    compile 'com.github.bumptech.glide:glide:3.7.0'\n    testCompile 'junit:junit:4.12'\n    annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'\n}\n"
  },
  {
    "path": "app/fabric.properties",
    "content": "#Contains API Secret used to validate your application. Commit to internal source control; avoid making secret public.\n#Wed Dec 28 20:37:19 CST 2016\napiSecret=ddbd08ed569cbe7180a1c8cb1624f71a7193bd3285b3eb1c038951d23e317628\n"
  },
  {
    "path": "app/proguard-rules.pro",
    "content": "# Add project specific ProGuard rules here.\n# By default, the flags in this file are appended to flags specified\n# in C:\\work\\android\\sdk/tools/proguard/proguard-android.txt\n# You can edit the include path and order by changing the proguardFiles\n# directive in build.gradle.\n#\n# For more details, see\n#   http://developer.android.com/guide/developing/tools/proguard.html\n\n# Add any project specific keep options here:\n\n# If your project uses WebView with JS, uncomment the following\n# and specify the fully qualified class name to the JavaScript interface\n# class:\n#-keepclassmembers class fqcn.of.javascript.interface.for.webview {\n#   public *;\n#}\n"
  },
  {
    "path": "app/src/androidTest/java/com/yiyuanliu/flipgank/ExampleInstrumentedTest.java",
    "content": "package com.yiyuanliu.flipgank;\n\nimport android.content.Context;\nimport android.support.test.InstrumentationRegistry;\nimport android.support.test.runner.AndroidJUnit4;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\n\nimport static org.junit.Assert.*;\n\n/**\n * Instrumentation test, which will execute on an Android device.\n *\n * @see <a href=\"http://d.android.com/tools/testing\">Testing documentation</a>\n */\n@RunWith(AndroidJUnit4.class)\npublic class ExampleInstrumentedTest {\n    @Test\n    public void useAppContext() throws Exception {\n        // Context of the app under test.\n        Context appContext = InstrumentationRegistry.getTargetContext();\n\n        assertEquals(\"com.yiyuanliu.flipgank\", appContext.getPackageName());\n    }\n}\n"
  },
  {
    "path": "app/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    package=\"com.yiyuanliu.flipgank\">\n\n    <uses-permission android:name=\"android.permission.INTERNET\" />\n\n    <application\n        android:allowBackup=\"true\"\n        android:icon=\"@mipmap/ic_launcher\"\n        android:label=\"@string/app_name\"\n        android:supportsRtl=\"true\"\n        android:theme=\"@style/AppTheme\">\n        <activity android:name=\".activity.MainActivity\"\n            android:theme=\"@style/AppTheme\">\n            <intent-filter>\n                <action android:name=\"android.intent.action.MAIN\" />\n                <category android:name=\"android.intent.category.LAUNCHER\" />\n            </intent-filter>\n        </activity>\n        <activity android:name=\".activity.GankViewActivity\"\n            android:theme=\"@style/AppTheme\"/>\n        <activity android:name=\".activity.CategoryActivity\"\n            android:theme=\"@style/AppTheme\"/>\n\n    </application>\n\n</manifest>"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/activity/BaseActivity.java",
    "content": "package com.yiyuanliu.flipgank.activity;\n\nimport android.support.v7.app.AppCompatActivity;\n\n/**\n * Created by YiyuanLiu on 2016/12/22.\n */\n\npublic abstract class BaseActivity extends AppCompatActivity {\n    public abstract void showInfo(String info);\n    public abstract void setLoading(boolean isLoading);\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/activity/CategoryActivity.java",
    "content": "package com.yiyuanliu.flipgank.activity;\n\nimport android.animation.Animator;\nimport android.content.Context;\nimport android.content.Intent;\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\nimport android.util.Log;\nimport android.view.View;\nimport android.widget.ProgressBar;\nimport android.widget.TextView;\n\nimport com.yiyuanliu.flipgank.R;\nimport com.yiyuanliu.flipgank.fragment.GankFragment;\n\nimport butterknife.BindView;\nimport butterknife.ButterKnife;\nimport butterknife.OnClick;\n\n\npublic class CategoryActivity extends BaseActivity {\n    private static final String TAG = \"CategoryActivity\";\n\n    private static final String ARG_TYPE = \"type\";\n\n    public static void startActivity(Context context, String type) {\n        Intent intent = new Intent(context, CategoryActivity.class);\n        intent.putExtra(ARG_TYPE, type);\n        context.startActivity(intent);\n    }\n\n    @BindView(R.id.title)\n    TextView title;\n    @BindView(R.id.scrim)\n    View scrim;\n    @BindView(R.id.loading)\n    ProgressBar loading;\n    @BindView(R.id.text)\n    TextView text;\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_category);\n\n        ButterKnife.bind(this);\n\n        if (savedInstanceState == null) {\n            if (getIntent() == null) {\n                throw new IllegalStateException();\n            }\n\n            String type = getIntent().getExtras().getString(ARG_TYPE);\n\n            title.setText(type);\n            getSupportFragmentManager().beginTransaction()\n                    .replace(R.id.container, GankFragment.newInstance(type))\n                    .commit();\n        }\n    }\n\n    public void setLoading(boolean isLoading) {\n        Log.d(TAG, \"setLoading: \" + isLoading);\n\n        scrim.removeCallbacks(hideInfo);\n        scrim.animate().cancel();\n        scrim.animate().setListener(null);\n\n        if (isLoading) {\n            scrim.setVisibility(View.VISIBLE);\n            loading.setVisibility(View.VISIBLE);\n            text.setText(\"加载中...\");\n            scrim.setAlpha(0f);\n            scrim.animate().alpha(1f).start();\n        } else {\n            scrim.animate().alpha(0f).setListener(new Animator.AnimatorListener() {\n                @Override\n                public void onAnimationEnd(Animator animation) {\n                    scrim.setVisibility(View.INVISIBLE);\n                }\n\n                @Override public void onAnimationStart(Animator animation) { }\n                @Override public void onAnimationCancel(Animator animation) { }\n                @Override public void onAnimationRepeat(Animator animation) { }\n            }).start();\n        }\n    }\n\n    public void showInfo(String info) {\n        Log.d(TAG, \"showInfo: \" + info);\n\n        scrim.animate().cancel();\n        scrim.removeCallbacks(hideInfo);\n        scrim.animate().setListener(null);\n\n        scrim.setVisibility(View.VISIBLE);\n        loading.setVisibility(View.GONE);\n        text.setText(info);\n        scrim.setAlpha(0f);\n        scrim.animate().alpha(1f).setDuration(230).start();\n        scrim.postDelayed(hideInfo, 800);\n    }\n\n    private Runnable hideInfo = new Runnable() {\n        @Override\n        public void run() {\n            Log.d(TAG, \"run: hideInfo\");\n\n            scrim.animate().cancel();\n            scrim.animate().alpha(0f).setListener(new Animator.AnimatorListener() {\n                @Override\n                public void onAnimationEnd(Animator animation) {\n                    scrim.setVisibility(View.INVISIBLE);\n                }\n\n                @Override public void onAnimationStart(Animator animation) { }\n                @Override public void onAnimationCancel(Animator animation) { }\n                @Override public void onAnimationRepeat(Animator animation) { }\n            }).start();\n        }\n    };\n\n\n    @OnClick(R.id.back)\n    void back() {\n        finish();\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/activity/GankViewActivity.java",
    "content": "package com.yiyuanliu.flipgank.activity;\n\nimport android.app.Activity;\nimport android.content.Context;\nimport android.content.Intent;\nimport android.graphics.Bitmap;\nimport android.net.Uri;\nimport android.support.design.widget.BottomSheetDialog;\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.webkit.WebView;\nimport android.webkit.WebViewClient;\nimport android.widget.ImageButton;\nimport android.widget.PopupWindow;\nimport android.widget.ProgressBar;\n\nimport com.yiyuanliu.flipgank.R;\nimport com.yiyuanliu.flipgank.adapter.GankAdapter;\nimport com.yiyuanliu.flipgank.data.GankItem;\nimport com.yiyuanliu.flipgank.view.GankBottom;\nimport com.yiyuanliu.flipgank.view.GankItemView;\n\nimport butterknife.BindView;\nimport butterknife.ButterKnife;\nimport butterknife.OnClick;\n\npublic class GankViewActivity extends BaseActivity {\n    private static final String ARG_GANK = \"gank\";\n\n    public static void startActivity(Context context, GankItem gankItem) {\n        Intent intent = new Intent(context, GankViewActivity.class);\n        intent.putExtra(ARG_GANK, gankItem);\n        context.startActivity(intent);\n    }\n\n    @BindView(R.id.webview)\n    WebView mWebView;\n    @BindView(R.id.like)\n    ImageButton likeButton;\n    @BindView(R.id.loading)\n    ProgressBar loading;\n\n    GankItem mGankItem;\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_gank_view);\n\n        ButterKnife.bind(this);\n\n        if (getIntent() == null) {\n            throw new IllegalStateException();\n        }\n        mGankItem = (GankItem) getIntent().getExtras().getSerializable(ARG_GANK);\n\n        mWebView.loadUrl(mGankItem.url);\n        mWebView.getSettings().setJavaScriptEnabled(true);\n        mWebView.setWebViewClient(new WebViewClient(){\n            @Override\n            public boolean shouldOverrideUrlLoading(WebView view, String url) {\n                view.loadUrl(url);\n                return true;\n            }\n\n            @Override\n            public void onPageStarted(WebView view, String url, Bitmap favicon) {\n                super.onPageStarted(view, url, favicon);\n                setLoading(true);\n            }\n\n            @Override\n            public void onPageFinished(WebView view, String url) {\n                super.onPageFinished(view, url);\n                setLoading(false);\n            }\n        });\n\n        if (mGankItem.like) {\n            likeButton.setImageResource(R.drawable.bt_like);\n        } else {\n            likeButton.setImageResource(R.drawable.bt_unlike);\n        }\n    }\n\n    @Override\n    protected void onDestroy() {\n        mWebView.destroy();\n        super.onDestroy();\n    }\n\n    @Override\n    public void onBackPressed() {\n        if (mWebView.canGoBack()) {\n            mWebView.goBack();\n        } else {\n            super.onBackPressed();\n        }\n    }\n\n    @OnClick(R.id.back)\n    void close(View view) {\n        finish();\n    }\n\n    @OnClick(R.id.share)\n    void share(View view) {\n        Intent sendIntent = new Intent();\n        sendIntent.setAction(Intent.ACTION_SEND);\n        sendIntent.putExtra(Intent.EXTRA_TEXT, mGankItem.desc + \"\\n\" + mGankItem.url);\n        sendIntent.setType(\"text/plain\");\n        startActivity(Intent.createChooser(sendIntent, \"分享链接\"));\n    }\n\n    @OnClick(R.id.open_in_browser)\n    void open(View view) {\n        Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(mGankItem.url));\n        startActivity(intent);\n    }\n\n    @OnClick(R.id.like)\n    void like(View view) {\n        mGankItem.like = !mGankItem.like;\n        if (mGankItem.like) {\n            likeButton.setImageResource(R.drawable.bt_like);\n        } else {\n            likeButton.setImageResource(R.drawable.bt_unlike);\n        }\n    }\n\n    @OnClick(R.id.more)\n    void showMore(View view) {\n        BottomSheetDialog bottomSheetDialog = new BottomSheetDialog(this);\n        GankBottom gankBottom = (GankBottom) LayoutInflater.from(this).inflate(R.layout.bottom_sheet, null, false);\n        gankBottom.bind(mGankItem, null);\n        bottomSheetDialog.setContentView( gankBottom);\n        bottomSheetDialog.show();\n    }\n\n    @Override\n    public void showInfo(String info) { }\n\n    @Override\n    public void setLoading(boolean isLoading) {\n        loading.setVisibility(isLoading ? View.VISIBLE : View.GONE);\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/activity/MainActivity.java",
    "content": "package com.yiyuanliu.flipgank.activity;\n\nimport android.animation.Animator;\nimport android.support.design.widget.BottomSheetBehavior;\nimport android.support.design.widget.BottomSheetDialog;\nimport android.support.design.widget.TabLayout;\nimport android.support.v4.app.Fragment;\nimport android.support.v4.app.FragmentPagerAdapter;\nimport android.support.v4.view.PagerAdapter;\nimport android.support.v4.view.ViewPager;\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\nimport android.util.Log;\nimport android.view.View;\nimport android.widget.FrameLayout;\nimport android.widget.ProgressBar;\nimport android.widget.TextView;\n\nimport com.yiyuanliu.flipgank.R;\nimport com.yiyuanliu.flipgank.adapter.CategoryAdapter;\nimport com.yiyuanliu.flipgank.data.GankItem;\nimport com.yiyuanliu.flipgank.fragment.AboutFragment;\nimport com.yiyuanliu.flipgank.fragment.CategoryFragment;\nimport com.yiyuanliu.flipgank.fragment.GankFragment;\n\nimport butterknife.BindView;\nimport butterknife.ButterKnife;\n\npublic class MainActivity extends BaseActivity {\n\n    private static final String TAG = \"MainActivity\";\n\n    @BindView(R.id.scrim)\n    View scrim;\n    @BindView(R.id.loading)\n    ProgressBar loading;\n    @BindView(R.id.text)\n    TextView text;\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_main);\n        ButterKnife.bind(this);\n\n        ViewPager viewPager = (ViewPager) findViewById(R.id.view_pager);\n        viewPager.setAdapter(mPagerAdapter);\n        TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout);\n        tabLayout.setupWithViewPager(viewPager);\n        tabLayout.getTabAt(0).setIcon(R.drawable.icon_main);\n        tabLayout.getTabAt(1).setIcon(R.drawable.icon_category);\n        tabLayout.getTabAt(2).setIcon(R.drawable.icon_about);\n    }\n\n    private PagerAdapter mPagerAdapter = new FragmentPagerAdapter(getSupportFragmentManager()) {\n        @Override\n        public Fragment getItem(int position) {\n            if (position == 1) {\n                return CategoryFragment.newInstance();\n            } else if (position == 2) {\n                return AboutFragment.newInstance();\n            }\n            return GankFragment.newInstance(null);\n        }\n\n        @Override\n        public int getCount() {\n            return 3;\n        }\n\n        @Override\n        public CharSequence getPageTitle(int position) {\n            return null;\n        }\n    };\n\n    public void setLoading(boolean isLoading) {\n        Log.d(TAG, \"setLoading: \" + isLoading);\n\n        scrim.removeCallbacks(hideInfo);\n        scrim.animate().cancel();\n        scrim.animate().setListener(null);\n\n        if (isLoading) {\n            scrim.setVisibility(View.VISIBLE);\n            loading.setVisibility(View.VISIBLE);\n            text.setText(\"加载中...\");\n            scrim.setAlpha(0f);\n            scrim.animate().alpha(1f).start();\n        } else {\n            scrim.animate().alpha(0f).setListener(new Animator.AnimatorListener() {\n                @Override\n                public void onAnimationEnd(Animator animation) {\n                    scrim.setVisibility(View.INVISIBLE);\n                }\n\n                @Override public void onAnimationStart(Animator animation) { }\n                @Override public void onAnimationCancel(Animator animation) { }\n                @Override public void onAnimationRepeat(Animator animation) { }\n            }).start();\n        }\n    }\n\n    public void showInfo(String info) {\n        Log.d(TAG, \"showInfo: \" + info);\n\n        scrim.animate().cancel();\n        scrim.removeCallbacks(hideInfo);\n        scrim.animate().setListener(null);\n\n        scrim.setVisibility(View.VISIBLE);\n        loading.setVisibility(View.GONE);\n        text.setText(info);\n        scrim.setAlpha(1f);\n        scrim.postDelayed(hideInfo, 800);\n    }\n\n    private Runnable hideInfo = new Runnable() {\n        @Override\n        public void run() {\n            Log.d(TAG, \"run: hideInfo\");\n\n            scrim.animate().cancel();\n            scrim.animate().alpha(0f).setListener(new Animator.AnimatorListener() {\n                @Override\n                public void onAnimationEnd(Animator animation) {\n                    scrim.setVisibility(View.INVISIBLE);\n                }\n\n                @Override public void onAnimationStart(Animator animation) { }\n                @Override public void onAnimationCancel(Animator animation) { }\n                @Override public void onAnimationRepeat(Animator animation) { }\n            }).start();\n        }\n    };\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/adapter/CategoryAdapter.java",
    "content": "package com.yiyuanliu.flipgank.adapter;\n\nimport android.support.v7.widget.RecyclerView;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.ImageView;\nimport android.widget.TextView;\n\nimport com.bumptech.glide.Glide;\nimport com.yiyuanliu.flipgank.R;\nimport com.yiyuanliu.flipgank.activity.CategoryActivity;\n\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\nimport butterknife.BindView;\nimport butterknife.ButterKnife;\nimport butterknife.OnClick;\n\n/**\n * Created by YiyuanLiu on 2016/12/21.\n */\n\npublic class CategoryAdapter extends RecyclerView.Adapter {\n    private List<String> mCategoryList;\n\n    public CategoryAdapter() {\n        mCategoryList = new ArrayList<>();\n        mCategoryList.add(\"Android\");\n        mCategoryList.add(\"iOS\");\n        mCategoryList.add(\"App\");\n        mCategoryList.add(\"拓展资源\");\n        mCategoryList.add(\"瞎推荐\");\n        mCategoryList.add(\"前端\");\n        mCategoryList.add(\"休息视频\");\n        Collections.sort(mCategoryList);\n    }\n\n    public void addCategory(List<String> categoryList) {\n        for (String category: categoryList) {\n            if (category.equals(\"福利\")) {\n                continue;\n            }\n\n            boolean has = false;\n            for (String item: mCategoryList) {\n                if (category.equals(item)){\n                    has = true;\n                    break;\n                }\n            }\n\n            if (!has) {\n                mCategoryList.add(category);\n            }\n        }\n\n        Collections.sort(mCategoryList);\n        notifyDataSetChanged();\n    }\n\n    @Override\n    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_category, parent, false);\n        return new CategoryVh(view);\n    }\n\n    @Override\n    public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {\n        ((CategoryVh)holder).bind(mCategoryList.get(position));\n    }\n\n    @Override\n    public int getItemCount() {\n        return mCategoryList.size();\n    }\n\n    class CategoryVh extends RecyclerView.ViewHolder {\n\n        @BindView(R.id.category)\n        TextView textView;\n        @BindView(R.id.image)\n        ImageView imageView;\n        String category;\n\n        public CategoryVh(View itemView) {\n            super(itemView);\n            ButterKnife.bind(this, itemView);\n        }\n\n        public void bind(String category) {\n            this.category = category;\n            this.textView.setText(category);\n            if (getResId(category) != 0) {\n                Glide.with(itemView.getContext())\n                        .load(getResId(category))\n                        .into(imageView);\n            }\n        }\n\n        @OnClick(R.id.click)\n        void onClick() {\n            CategoryActivity.startActivity(itemView.getContext(), category);\n        }\n    }\n\n    private static final int getResId(String category) {\n        switch (category) {\n            case \"Android\": return R.drawable.android;\n            case \"iOS\": return R.drawable.ios;\n            case \"App\": return R.drawable.app;\n            case \"休息视频\": return R.drawable.rest;\n            case \"拓展资源\": return R.drawable.more;\n            case \"前端\": return R.drawable.javascript;\n            case \"瞎推荐\": return R.drawable.recommend;\n            default: return 0;\n        }\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/adapter/GankAdapter.java",
    "content": "package com.yiyuanliu.flipgank.adapter;\n\nimport android.content.Context;\nimport android.support.design.widget.BottomSheetDialog;\nimport android.support.v7.widget.RecyclerView;\nimport android.text.TextUtils;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.ProgressBar;\nimport android.widget.TextView;\n\nimport com.yiyuanliu.flipgank.R;\nimport com.yiyuanliu.flipgank.activity.GankViewActivity;\nimport com.yiyuanliu.flipgank.data.DataManager;\nimport com.yiyuanliu.flipgank.data.GankItem;\nimport com.yiyuanliu.flipgank.view.GankItemView;\n\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Iterator;\nimport java.util.List;\n\nimport butterknife.BindView;\nimport butterknife.BindViews;\nimport butterknife.ButterKnife;\n\n/**\n * Created by YiyuanLiu on 2016/12/17.\n */\npublic class GankAdapter extends RecyclerView.Adapter implements GankItemView.Listener {\n\n    private static final String TAG = \"GankAdapter\";\n\n    private List<Page> pageList = new ArrayList<>();\n    private List<GankItem> gankItems = new ArrayList<>();\n\n    private Listener mListener;\n    private Context mContext;\n    private boolean mHasMore = true;\n\n    public GankAdapter(Context context,Listener listener) {\n        mListener = listener;\n        mContext = context;\n    }\n\n    public void setHasMore(boolean hasMore) {\n        if (mHasMore == hasMore) {\n            return;\n        }\n        mHasMore = hasMore;\n        notifyItemChanged(getItemCount() - 1);\n    }\n\n    public void clear() {\n        int size = pageList.size();\n        pageList.clear();\n        gankItems.clear();\n        notifyItemRangeRemoved(0, size);\n    }\n\n    public void addData(List<GankItem> gankItemList) {\n        gankItemList.addAll(gankItems);\n        gankItems.clear();\n\n        FirstPage bigImagePage = FirstPage.gen(gankItemList);\n        if (bigImagePage != null) {\n            pageList.add(bigImagePage);\n            notifyItemInserted(pageList.size() - 1);\n        }\n\n        while (gankItemList.size() / 4 != 0) {\n            NormalPage normal = NormalPage.gen(gankItemList);\n            pageList.add(normal);\n            notifyItemInserted(pageList.size() - 1);\n        }\n\n        if (gankItemList.size() != 0) {\n            gankItems.addAll(gankItemList);\n        }\n    }\n\n    @Override\n    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n        Log.d(TAG, \"create view holder \" + viewType);\n\n        if (viewType == Page.TYPE_BIG_IMAGE) {\n            View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.page_first, parent, false);\n            return new FirstPageVh(view);\n        }\n\n        if (viewType == Page.TYPE_NORMAL) {\n            View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.page_normal, parent, false);\n            return new NormalVh(view);\n        }\n\n        if (viewType == 0) {\n            View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.page_loading, parent, false);\n            return new LoadingVh(view);\n        }\n        return null;\n    }\n\n    @Override\n    public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {\n        int type = getItemViewType(position);\n\n        if (type == Page.TYPE_BIG_IMAGE) {\n            FirstPageVh imageVh = (FirstPageVh) holder;\n            imageVh.bind(pageList.get(position));\n        }\n\n        if (type == Page.TYPE_NORMAL) {\n            NormalVh normalVh = (NormalVh) holder;\n            normalVh.bind(pageList.get(position));\n        }\n\n        if (type == 0) {\n            LoadingVh loadingVh = (LoadingVh) holder;\n            ((LoadingVh) holder).bind(mHasMore);\n        }\n    }\n\n    @Override\n    public int getItemViewType(int position) {\n        if (position < pageList.size()) {\n            return pageList.get(position).getType();\n        } else {\n            return 0;\n        }\n    }\n\n    @Override\n    public int getItemCount() {\n        return pageList.size() + 1;\n    }\n\n    public int getDataCount() {\n        return pageList.size();\n    }\n\n    @Override\n    public void open(GankItem gankItem) {\n        GankViewActivity.startActivity(mContext, gankItem);\n    }\n\n    @Override\n    public void showBottomSheet(GankItem gankItem) {\n        BottomSheetDialog bottomSheetDialog = new BottomSheetDialog(mContext);\n        GankItemView gankItemView = (GankItemView) LayoutInflater.from(mContext).inflate(R.layout.bottom_sheet, null, false);\n        gankItemView.bind(gankItem, GankAdapter.this);\n        bottomSheetDialog.setContentView((View) gankItemView);\n        bottomSheetDialog.show();\n    }\n\n    @Override\n    public void like(GankItem gankItem) {\n        if (gankItem.like) {\n            mListener.showInfo(\"已喜欢\");\n        } else {\n            mListener.showInfo(\"取消喜欢\");\n        }\n\n        DataManager.getInstance(mContext).updateLike(gankItem);\n    }\n\n    class LoadingVh extends RecyclerView.ViewHolder {\n\n        @BindView(R.id.loading)\n        ProgressBar loading;\n        @BindView(R.id.text)\n        TextView textView;\n\n        LoadingVh(View itemView) {\n            super(itemView);\n            ButterKnife.bind(this, itemView);\n        }\n\n        void bind(boolean hasMore) {\n            if (hasMore) {\n                loading.setVisibility(View.VISIBLE);\n                textView.setText(\"加载中...\");\n            } else {\n                loading.setVisibility(View.GONE);\n                textView.setText(\"没有更多内容\");\n            }\n        }\n    }\n\n    class FirstPageVh extends RecyclerView.ViewHolder {\n\n        @BindViews({R.id.item_head, R.id.item1})\n        GankItemView[] items;\n\n        FirstPageVh(View itemView) {\n            super(itemView);\n            ButterKnife.bind(this, itemView);\n        }\n\n        void bind(Page page) {\n            for (int i = 0;i < page.getSize() && i < items.length;i ++) {\n                items[i].bind(page.items[i], GankAdapter.this);\n            }\n        }\n    }\n\n    class NormalVh extends RecyclerView.ViewHolder {\n        @BindViews({R.id.item1, R.id.item2, R.id.item3, R.id.item4})\n        GankItemView items[];\n\n        NormalVh(View itemView) {\n            super(itemView);\n            ButterKnife.bind(this, itemView);\n        }\n\n        void bind(Page page) {\n            for (int i = 0;i < page.getSize() && i < items.length;i ++) {\n                items[i].bind(page.items[i], GankAdapter.this);\n            }\n        }\n    }\n\n    private abstract static class Page {\n        static final int TYPE_BIG_IMAGE = 1;\n        static final int TYPE_NORMAL = 2;\n\n        GankItem[] items;\n\n        abstract int getType();\n        abstract int getSize();\n    }\n\n    /**\n     * 通常为某天信息的第一页\n     * 样式为上方一个大图片，下方一个内容\n     *\n     */\n    private static class FirstPage extends Page {\n        static FirstPage gen(List<GankItem> gankItemList) {\n            GankItem imageItem = null;\n\n            if (gankItemList == null || gankItemList.size() <= 1) {\n                return null;\n            }\n\n            Iterator<GankItem> gankItemIterator = gankItemList.iterator();\n            while (gankItemIterator.hasNext()) {\n                GankItem item = gankItemIterator.next();\n                if (item.type.equals(\"福利\")) {\n                    imageItem = item;\n                    gankItemIterator.remove();\n                    break;\n                }\n            }\n\n            if (imageItem == null) {\n                return null;\n            }\n\n            int count = 2;\n            int i = 1;\n            GankItem[] items = new GankItem[count];\n            items[0] = imageItem;\n\n            gankItemIterator = gankItemList.iterator();\n            while (gankItemIterator.hasNext() && count > i) {\n                GankItem item = gankItemIterator.next();\n                items[i] = item;\n                i ++;\n                gankItemIterator.remove();\n            }\n\n            FirstPage bigImagePage = new FirstPage();\n            bigImagePage.items = items;\n            return bigImagePage;\n        }\n\n        @Override int getSize() {\n            return items == null ? 0 : items.length;\n        }\n\n        @Override int getType() {\n            return TYPE_BIG_IMAGE;\n        }\n    }\n\n    /**\n     * 这是通常形式的 page\n     * 样式为四个内容竖直排列\n     */\n    private static class NormalPage extends Page {\n        static NormalPage gen(List<GankItem> gankItemList) {\n            if (gankItemList == null || gankItemList.isEmpty()) {\n                return null;\n            }\n\n            int size = gankItemList.size() > 4 ? 4 : gankItemList.size();\n            GankItem[] items = new GankItem[size];\n            gankItemList.subList(0, size).toArray(items);\n            gankItemList.removeAll(Arrays.asList(items));\n\n            NormalPage normalPage = new NormalPage();\n            normalPage.items = items;\n\n            return normalPage;\n        }\n\n        int getSize() {\n            return items == null ? 0 : items.length;\n        }\n\n        @Override\n        int getType() {\n            return TYPE_NORMAL;\n        }\n    }\n\n    public interface Listener {\n        void showInfo(String info);\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/data/Api.java",
    "content": "package com.yiyuanliu.flipgank.data;\n\n\nimport retrofit2.http.GET;\nimport retrofit2.http.Path;\nimport rx.Observable;\n\n/**\n * Created by YiyuanLiu on 2016/12/15.\n */\n\npublic interface Api {\n    String BASE_URL = \"http://gank.io/\";\n\n    @GET(\"api/day/{year}/{month}/{day}\")\n    Observable<GankResponse> loadData(@Path(\"year\") int year, @Path(\"month\") int month, @Path(\"day\") int day);\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/data/DataManager.java",
    "content": "package com.yiyuanliu.flipgank.data;\n\nimport android.content.ContentValues;\nimport android.content.Context;\nimport android.database.Cursor;\nimport android.database.sqlite.SQLiteDatabase;\nimport android.util.Log;\n\nimport java.util.ArrayList;\nimport java.util.Calendar;\nimport java.util.Date;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\n\nimport retrofit2.Retrofit;\nimport retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;\nimport retrofit2.converter.gson.GsonConverterFactory;\nimport rx.Observable;\nimport rx.Subscriber;\nimport rx.functions.Func1;\n\n/**\n * Created by YiyuanLiu on 2016/12/16.\n */\npublic class DataManager {\n    private static final String TAG = \"DataManager\";\n\n    private static volatile DataManager sInstance;\n\n    public static DataManager getInstance(Context context) {\n        if (sInstance == null) {\n            synchronized (DataManager.class) {\n                if (sInstance == null) {\n                    sInstance = new DataManager(context);\n                }\n            }\n        }\n\n        return sInstance;\n    }\n\n    private DataManager(Context context) {\n        Context context1 = context.getApplicationContext();\n        GankDbHelper gankDbHelper = new GankDbHelper(context1);\n        sqLiteDatabase = gankDbHelper.getWritableDatabase();\n    }\n\n    private SQLiteDatabase sqLiteDatabase;\n    private Api api;\n\n    public Observable<List<String>> loadCategory() {\n\n        return Observable.create(new Observable.OnSubscribe<List<String>>() {\n            @Override\n            public void call(Subscriber<? super List<String>> subscriber) {\n                Cursor cursor = sqLiteDatabase.query(GankDbHelper.Contract.TABLE_CATEGORY, null, null, null, null, null, null);\n                boolean hasMore = cursor.moveToFirst();\n                List<String> categorys = new ArrayList<>();\n                while (hasMore) {\n                    int categoryPos = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_CATEGORY);\n                    String category = cursor.getString(categoryPos);\n                    categorys.add(category);\n                    hasMore = cursor.moveToNext();\n                }\n\n                if (!subscriber.isUnsubscribed()) {\n                    subscriber.onNext(categorys);\n                }\n\n                cursor.close();\n            }\n        });\n    }\n\n    /**\n     * 从当前时间加载数据\n     * 调用者应通过返回数据中的时间判断是否有更新的内容\n     *\n     * @return Observable\n     */\n    public Observable<List<GankItem>> loadNew() {\n        return loadFromDay(getToday());\n    }\n\n    /**\n     * 加载更多内容\n     * 在分页时 loadMore 从上次加载到的位置继续\n     * 第一次调用从数据库缓存中最新时间开始加载\n     * 如果返回的数据为空，意味着已经没有更多内容\n     *\n     * @param lastLoaded 上次加载到的日期，用于分页加载\n     * @return Observable\n     */\n    public Observable<List<GankItem>> loadMore(String lastLoaded) {\n        String day;\n        if (lastLoaded == null) {\n            History history = getLatestUpdate(true);\n            if (history == null) {\n                day = getToday();\n            } else {\n                day = history.day;\n            }\n        } else {\n            // 日期向前一天\n            day = dayBack(lastLoaded);\n        }\n\n        return loadFromDay(day);\n    }\n\n    /**\n     * 从 day 开始进行加载任务，发现新的内容后停止\n     * 如果没有内容，加载前一天的内容,如果返回的数据为空，意味着日期以前已经没有更多内容\n     *\n     * @param day 加载日期\n     */\n    private Observable<List<GankItem>> loadFromDay(final String day) {\n        Log.d(TAG, \"loadFromDay: \" + day);\n        if (isOver(day)) {\n            List<GankItem> emptyList = new ArrayList<>();\n            return Observable.just(emptyList);\n        } else return load(day).flatMap(new Func1<List<GankItem>, Observable<List<GankItem>>>() {\n            @Override\n            public Observable<List<GankItem>> call(List<GankItem> gankItemList) {\n                // 检查是否获得了数据\n                if (gankItemList.size() == 0) {\n                    String dayBack = dayBack(day);\n                    return loadFromDay(dayBack);\n                } else {\n                    return Observable.just(gankItemList);\n                }\n            }\n        });\n    }\n\n    /**\n     * 加载某一天的数据，首先检查数据库，否则从网络中加载并更新数据库\n     *\n     * @param dayStr 日期\n     * @return Observable\n     */\n    private Observable<List<GankItem>> load(final String dayStr) {\n        Log.d(TAG, \"load: \" + dayStr);\n\n        History history = checkLoadHistory(dayStr);\n        if (history == null) {\n\n            return loadFromGank(dayStr).map(new Func1<List<GankItem>, List<GankItem>>() {\n                @Override\n                public List<GankItem> call(List<GankItem> gankItemList) {\n                    updateDb(gankItemList, dayStr);\n                    return gankItemList;\n                }\n            });\n        } else {\n            return loadFormDb(dayStr);\n        }\n    }\n\n    /**\n     * 从 gank.io 加载某一天的内容\n     * @param dayStr 日期\n     * @return 返回加载到的内容\n     */\n    private Observable<List<GankItem>> loadFromGank(final String dayStr) {\n        Log.d(TAG, \"loadFromGank: \" + dayStr);\n\n        String[] parts = dayStr.split(\"/\");\n        int year = Integer.valueOf(parts[0]);\n        int month = Integer.valueOf(parts[1]);\n        int day = Integer.valueOf(parts[2]);\n\n        if (api == null) {\n            Retrofit.Builder builder = new Retrofit.Builder();\n            api = builder.baseUrl(Api.BASE_URL)\n                    .addCallAdapterFactory(RxJavaCallAdapterFactory.create())\n                    .addConverterFactory(GsonConverterFactory.create())\n                    .build().create(Api.class);\n        }\n\n        return api.loadData(year, month, day)\n                .map(new Func1<GankResponse, List<GankItem>>() {\n                    @Override\n                    public List<GankItem> call(GankResponse gankResponse) {\n                        if (gankResponse.error) {\n                            throw new RuntimeException(\"gank error\");\n                        }\n                        List<GankItem> gankItemList = new ArrayList<>();\n                        if (gankResponse.hasData()) {\n                            for (Map.Entry<String, List<GankItem>> entry: gankResponse.results.entrySet()) {\n                                gankItemList.addAll(entry.getValue());\n                            }\n                        }\n                        for (GankItem gankItem: gankItemList) {\n                            gankItem.day = dayStr;\n                        }\n                        return gankItemList;\n                    }\n                });\n    }\n\n    public void updateLike(GankItem gankItem) {\n        ContentValues item = new ContentValues();\n        item.put(GankDbHelper.Contract.COLUMN_ID, gankItem.id);\n        item.put(GankDbHelper.Contract.COLUMN_CATEGORY, gankItem.type);\n        item.put(GankDbHelper.Contract.COLUMN_DEST, gankItem.desc);\n        item.put(GankDbHelper.Contract.COLUMN_DAY, gankItem.day);\n        item.put(GankDbHelper.Contract.COLUMN_URL, gankItem.url);\n        item.put(GankDbHelper.Contract.COLUMN_WHO, gankItem.who);\n        item.put(GankDbHelper.Contract.COLUMN_LIKE, gankItem.like ? 1 : 0);\n        item.put(GankDbHelper.Contract.COLUMN_IMAGE, gankItem.getImage());\n\n        sqLiteDatabase.update(GankDbHelper.Contract.TABLE_DATA, item,\n                GankDbHelper.Contract.COLUMN_ID + \"=?\", new String[]{ gankItem.id });\n    }\n\n    /**\n     * 从 dataBase 中加载某天的内容\n     * @param day 日期\n     * @return 内容\n     */\n    private Observable<List<GankItem>> loadFormDb(final String day) {\n        Log.d(TAG, \"loadFormDb: \" + day);\n\n        return Observable.create(new Observable.OnSubscribe<List<GankItem>>() {\n            @Override\n            public void call(Subscriber<? super List<GankItem>> subscriber) {\n                Log.d(TAG, \"call: \" + day);\n\n                final List<GankItem> gankItemList = new ArrayList<>();\n\n                Cursor cursor = sqLiteDatabase.query(GankDbHelper.Contract.TABLE_DATA, null,\n                        GankDbHelper.Contract.COLUMN_DAY + \" = ?\", new String[]{day},\n                        null, null, null);\n\n                boolean hasMore = cursor.moveToFirst();\n                while (hasMore) {\n                    GankItem gankItem = new GankItem();\n                    int columnDesc = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_DEST);\n                    int columnUrl = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_URL);\n                    int columnWho = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_WHO);\n                    int columnType = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_CATEGORY);\n                    int columnDay = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_DAY);\n                    int columnImage = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_IMAGE);\n                    int columnLike = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_LIKE);\n                    int columnId = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_ID);\n\n                    gankItem.desc = cursor.getString(columnDesc);\n                    gankItem.url = cursor.getString(columnUrl);\n                    gankItem.who = cursor.getString(columnWho);\n                    gankItem.type = cursor.getString(columnType);\n                    gankItem.day = cursor.getString(columnDay);\n                    gankItem.image = cursor.getString(columnImage);\n                    gankItem.like = cursor.getInt(columnLike) != 0;\n                    gankItem.id = cursor.getString(columnId);\n                    gankItemList.add(gankItem);\n\n                    hasMore = cursor.moveToNext();\n                }\n\n                if (!subscriber.isUnsubscribed()) {\n                    subscriber.onNext(gankItemList);\n                    subscriber.onCompleted();\n                }\n\n                cursor.close();\n\n                Log.d(TAG, \"call: end \" + day);\n            }\n        });\n\n    }\n\n    /**\n     * 最近一次的更新时间\n     * @return 最近更新，日期形式 2016/12/16\n     */\n    private History getLatestUpdate(boolean shouldHasData) {\n        History ans = null;\n        int ansInt = Integer.MIN_VALUE;\n\n        Cursor cursor = sqLiteDatabase.query(GankDbHelper.Contract.TABLE_LOAD_HISTORY,\n                null, null, null, null, null, null);\n        boolean hasMore = cursor.moveToFirst();\n        while (hasMore) {\n            int columnDay = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_DAY);\n            int columnHasData = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_HAS_DATA);\n            String day = cursor.getString(columnDay);\n            boolean hasData = cursor.getInt(columnHasData) == 1;\n\n            int dayInt = Integer.valueOf(day.replaceAll(\"/\", \"\"));\n            if (dayInt > ansInt && (hasData || !shouldHasData)) {\n                if (ans == null) {\n                    ans = new History();\n                }\n                ans.day = day;\n                ans.hasData = hasData;\n                ansInt = dayInt;\n            }\n\n            hasMore = cursor.moveToNext();\n        }\n\n        cursor.close();\n\n        return ans;\n    }\n\n    private void updateDb(List<GankItem> gankItemList, String day) {\n\n        final boolean isToday = isToday(day);\n        if (gankItemList.size() == 0) {\n            // 返回的列表中没有消息\n            if (isToday) {\n                // do nothing, 可能代码家还没干活，等等再说\n            } else {\n                // 那就是说今天没东西了\n                updateLoadHistory(day, false);\n            }\n        } else {\n            sqLiteDatabase.beginTransaction();\n            updateLoadHistory(day, true);\n            updateDataDb(gankItemList, day);\n            updateCategory(gankItemList);\n            sqLiteDatabase.setTransactionSuccessful();\n            sqLiteDatabase.endTransaction();\n        }\n    }\n\n    private void updateDataDb(List<GankItem> gankItemList, String day) {\n        if (gankItemList == null || gankItemList.size() == 0) {\n            Log.d(TAG, \"updateDataDb return for no data\");\n            return;\n        }\n\n        for (GankItem gankItem: gankItemList) {\n            ContentValues item = new ContentValues();\n            item.put(GankDbHelper.Contract.COLUMN_ID, gankItem.id);\n            item.put(GankDbHelper.Contract.COLUMN_CATEGORY, gankItem.type);\n            item.put(GankDbHelper.Contract.COLUMN_DEST, gankItem.desc);\n            item.put(GankDbHelper.Contract.COLUMN_DAY, day);\n            item.put(GankDbHelper.Contract.COLUMN_URL, gankItem.url);\n            item.put(GankDbHelper.Contract.COLUMN_WHO, gankItem.who);\n            item.put(GankDbHelper.Contract.COLUMN_IMAGE, gankItem.getImage());\n            item.put(GankDbHelper.Contract.COLUMN_LIKE, gankItem.like ? 1 : 0);\n            sqLiteDatabase.insert(GankDbHelper.Contract.TABLE_DATA, null, item);\n        }\n    }\n\n    /**\n     * 更新 category 列表\n     * @param gankItemList 输入数据\n     */\n    private void updateCategory(List<GankItem> gankItemList) {\n        if (gankItemList == null || gankItemList.size() == 0) {\n            return;\n        }\n\n        Set<String> category = new HashSet<>();\n        for (GankItem gankItem: gankItemList) {\n            category.add(gankItem.type);\n        }\n        for (String item: category) {\n            Cursor cursor = sqLiteDatabase.query(GankDbHelper.Contract.TABLE_CATEGORY, null,\n                    GankDbHelper.Contract.COLUMN_CATEGORY + \"=?\", new String[]{item}, null, null, null );\n            if (!cursor.moveToFirst()) {\n                ContentValues contentValues = new ContentValues();\n                contentValues.put(GankDbHelper.Contract.COLUMN_CATEGORY, item);\n                sqLiteDatabase.insert(GankDbHelper.Contract.TABLE_CATEGORY, null, contentValues);\n            }\n\n            cursor.close();\n        }\n    }\n\n    /**\n     * 将日期添加到 load_history 表之中，表示当天的消息已经加载过了\n     * @param day 日期\n     */\n    private void updateLoadHistory(String day, boolean hasData) {\n        ContentValues contentValues = new ContentValues();\n        contentValues.put(GankDbHelper.Contract.COLUMN_DAY, day);\n        contentValues.put(GankDbHelper.Contract.COLUMN_HAS_DATA, hasData ? 1 : 0);\n        sqLiteDatabase.insert(GankDbHelper.Contract.TABLE_LOAD_HISTORY, null, contentValues);\n    }\n\n    /**\n     * 检查当天是否被加载过\n     * @param day 所需查询的日期\n     * @return 是否已经加载, null 表示未加载，反之表示加载情况\n     */\n    private History checkLoadHistory(String day) {\n        Cursor cursor = sqLiteDatabase.query(GankDbHelper.Contract.TABLE_LOAD_HISTORY, null,\n                GankDbHelper.Contract.COLUMN_DAY + \" = ?\", new String[]{day},\n                null, null, null);\n\n        if (cursor.moveToFirst()) {\n            History history = new History();\n            int columnDay = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_DAY);\n            int columnHasData = cursor.getColumnIndex(GankDbHelper.Contract.COLUMN_HAS_DATA);\n\n            history.day = cursor.getString(columnDay);\n            history.hasData = cursor.getInt(columnHasData) == 1;\n            cursor.close();\n\n            return history;\n        } else {\n            cursor.close();\n            return null;\n        }\n    }\n\n    private static boolean isToday(String dayStr) {\n        int[] dayInt = dayStr2Int(dayStr);\n\n        return isToday(dayInt[0], dayInt[1], dayInt[2]);\n    }\n\n    private static boolean isToday(int year, int month, int day) {\n        Calendar calendar = Calendar.getInstance();\n        int yearToday = calendar.get(Calendar.YEAR);\n        int monthToday = calendar.get(Calendar.MONTH) + 1;\n        int dayToday = calendar.get(Calendar.DAY_OF_MONTH);\n\n        return year == yearToday && monthToday == month && dayToday == day;\n    }\n\n    private static int[] dayStr2Int(String dayStr) {\n        String[] parts = dayStr.split(\"/\");\n        int year = Integer.valueOf(parts[0]);\n        int month = Integer.valueOf(parts[1]);\n        int day = Integer.valueOf(parts[2]);\n\n        return new int[]{year, month, day};\n    }\n\n    private static String dayInt2Str(int year, int month, int day) {\n        return year + \"/\" + month + \"/\" + day;\n    }\n\n    private static final long A_DAY = 24 * 60 * 60 * 1000;\n\n    /**\n     * 获取前一天的日期字符串, 例如输入 2016/12/16\n     * @return 前一天的时间 2016/12/15\n     */\n    private static String dayBack(String dayStr) {\n        int[] dayInts = dayStr2Int(dayStr);\n        Calendar calendar = Calendar.getInstance();\n        calendar.set(dayInts[0], dayInts[1] - 1, dayInts[2]);\n        Date date = calendar.getTime();\n        long time = date.getTime() - A_DAY;\n        date.setTime(time);\n        calendar.setTime(date);\n\n        return dayInt2Str(calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH) + 1, calendar.get(Calendar.DAY_OF_MONTH));\n    }\n\n    private static String dayNext(String dayStr) {\n        int[] dayInts = dayStr2Int(dayStr);\n        Calendar calendar = Calendar.getInstance();\n        calendar.set(dayInts[0], dayInts[1] - 1, dayInts[2]);\n        Date date = calendar.getTime();\n        long time = date.getTime() + A_DAY;\n        date.setTime(time);\n        calendar.setTime(date);\n\n        return dayInt2Str(calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH) + 1, calendar.get(Calendar.DAY_OF_MONTH));\n    }\n\n    private static String getToday() {\n        Calendar calendar = Calendar.getInstance();\n        return dayInt2Str(calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH) + 1, calendar.get(Calendar.DAY_OF_MONTH));\n    }\n\n    /**\n     * gank.io 最早的时间应该是 2015/05/18,\n     * @param dayStr 日期\n     * @return 是否超过了 gank 的初始时间\n     */\n    private static boolean isOver(String dayStr) {\n        int[] day = dayStr2Int(dayStr);\n        Calendar gankStart = Calendar.getInstance();\n        gankStart.set(2015, 4, 18);\n        Calendar checkTime = Calendar.getInstance();\n        checkTime.set(day[0], day[1] - 1, day[2]);\n\n        return checkTime.before(gankStart);\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/data/GankDbHelper.java",
    "content": "package com.yiyuanliu.flipgank.data;\n\nimport android.content.Context;\nimport android.database.sqlite.SQLiteDatabase;\nimport android.database.sqlite.SQLiteOpenHelper;\n\n/**\n * Created by YiyuanLiu on 2016/12/15.\n */\n\npublic class GankDbHelper extends SQLiteOpenHelper {\n\n    public static class Contract {\n        public static final String DB_NAME = \"gank\";\n\n        public static final String TABLE_DATA = \"data\";\n        public static final String COLUMN_ID = \"_id\";\n        public static final String COLUMN_DEST = \"desc\";\n        public static final String COLUMN_URL = \"url\";\n        public static final String COLUMN_WHO = \"who\";\n        public static final String COLUMN_DAY = \"day\";\n        public static final String COLUMN_IMAGE = \"image\";\n        public static final String COLUMN_CATEGORY = \"category_name\";\n        public static final String COLUMN_LIKE = \"like\";\n\n        public static final String CREATE_TABLE_DATA = \"CREATE TABLE \" + TABLE_DATA + \" ( \"\n                + COLUMN_ID + \" TEXT PRIMARY KEY, \"\n                + COLUMN_DEST + \" TEXT, \"\n                + COLUMN_URL + \" TEXT, \"\n                + COLUMN_CATEGORY + \" TEXT, \"\n                + COLUMN_WHO + \" TEXT, \"\n                + COLUMN_IMAGE + \" TEXT, \"\n                + COLUMN_LIKE + \" INTEGER, \"\n                + COLUMN_DAY + \" TEXT \" + \" )\";\n\n        public static final String TABLE_CATEGORY = \"category\";\n        public static final String CREATE_TABLE_CATEGORY = \"CREATE TABLE \" + TABLE_CATEGORY + \" ( \"\n                + COLUMN_CATEGORY + \" TEXT PRIMARY KEY\" + \" )\";\n\n        public static final String TABLE_LOAD_HISTORY = \"load_history\";\n        public static final String COLUMN_HAS_DATA = \"has_data\";\n        public static final String CREATE_TABLE_HISTORY = \"CREATE TABLE \" + TABLE_LOAD_HISTORY + \" ( \"\n                + COLUMN_DAY + \" TEXT PRIMARY KEY, \"\n                + COLUMN_HAS_DATA + \" INTEGER \" + \" )\";\n    }\n\n    public GankDbHelper(Context context) {\n        super(context, Contract.DB_NAME, null, 1);\n    }\n\n    @Override\n    public void onCreate(SQLiteDatabase db) {\n        db.execSQL(Contract.CREATE_TABLE_DATA);\n        db.execSQL(Contract.CREATE_TABLE_CATEGORY);\n        db.execSQL(Contract.CREATE_TABLE_HISTORY);\n    }\n\n    @Override\n    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/data/GankItem.java",
    "content": "package com.yiyuanliu.flipgank.data;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport com.google.gson.annotations.SerializedName;\n\nimport java.io.Serializable;\nimport java.util.List;\n\n/**\n * Created by YiyuanLiu on 2016/12/15.\n */\n\npublic class GankItem implements Serializable {\n\n    @SerializedName(\"_id\")\n    public String id;\n    public String createAt;\n    public String desc;\n    public String publishedAt;\n    public String type;\n    public String url;\n    public String who;\n    public String day;\n    public List<String> images;\n    public String image;\n    public boolean like;\n\n    public String getImage() {\n        if (image != null) {\n            return image;\n        } else if (!type.equals(\"福利\")){\n            return images == null || images.size() == 0 ? null : images.get(0);\n        } else {\n            return url;\n        }\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/data/GankResponse.java",
    "content": "package com.yiyuanliu.flipgank.data;\n\nimport java.util.List;\nimport java.util.Map;\n\n/**\n * Created by YiyuanLiu on 2016/12/15.\n */\n\npublic class GankResponse {\n    public boolean error;\n    public Map<String, List<GankItem>> results;\n    public List<String> category;\n\n    public boolean hasData() {\n        return results != null && results.size() > 0;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/data/History.java",
    "content": "package com.yiyuanliu.flipgank.data;\n\n/**\n * Created by YiyuanLiu on 2016/12/16.\n */\n\npublic class History {\n    public String day;\n    public boolean hasData;\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/fragment/AboutFragment.java",
    "content": "package com.yiyuanliu.flipgank.fragment;\n\nimport android.content.Intent;\nimport android.net.Uri;\nimport android.os.Bundle;\nimport android.support.annotation.Nullable;\nimport android.support.v4.app.Fragment;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.ImageView;\n\nimport com.bumptech.glide.Glide;\nimport com.yiyuanliu.flipgank.R;\n\nimport butterknife.BindView;\nimport butterknife.ButterKnife;\nimport butterknife.OnClick;\nimport butterknife.Unbinder;\n\npublic class AboutFragment extends Fragment {\n    private static final String TAG = \"AboutFragment\";\n\n    @BindView(R.id.image_github)\n    ImageView github;\n    @BindView(R.id.image_write)\n    ImageView write;\n    private Unbinder unbinder;\n\n    public AboutFragment() { }\n\n    public static AboutFragment newInstance() {\n        AboutFragment fragment = new AboutFragment();\n        return fragment;\n    }\n\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater, ViewGroup container,\n                             Bundle savedInstanceState) {\n        return inflater.inflate(R.layout.fragment_about, container, false);\n    }\n\n    @Override\n    public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view, savedInstanceState);\n        unbinder = ButterKnife.bind(this, view);\n\n        Glide.with(this)\n                .load(R.drawable.image_github)\n                .centerCrop()\n                .into(github);\n\n        Glide.with(this)\n                .load(R.drawable.image_write)\n                .centerCrop()\n                .into(write);\n    }\n\n    @Override\n    public void onDestroyView() {\n        super.onDestroyView();\n        unbinder.unbind();\n    }\n\n    @OnClick(R.id.click_email)\n    protected void email() {\n        Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(\"mailto\",\"yiyuanliu1997@gmail.com\", null));\n        startActivity(Intent.createChooser(intent, \"Send Email to yiyuanliu1997@gmail.com\"));\n    }\n\n    @OnClick(R.id.click_github)\n    protected void github() {\n        Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"https://github.com/yiyuanliu/FlipGank\"));\n        startActivity(intent);\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/fragment/CategoryFragment.java",
    "content": "package com.yiyuanliu.flipgank.fragment;\n\nimport android.content.Context;\nimport android.graphics.drawable.GradientDrawable;\nimport android.net.Uri;\nimport android.os.Bundle;\nimport android.support.annotation.Nullable;\nimport android.support.v4.app.Fragment;\nimport android.support.v7.widget.DividerItemDecoration;\nimport android.support.v7.widget.GridLayoutManager;\nimport android.support.v7.widget.RecyclerView;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\n\nimport com.yiyuanliu.flipgank.R;\nimport com.yiyuanliu.flipgank.adapter.CategoryAdapter;\nimport com.yiyuanliu.flipgank.data.DataManager;\nimport com.yiyuanliu.flipgank.view.GridItemDecoration;\n\nimport java.util.List;\n\nimport butterknife.BindView;\nimport butterknife.ButterKnife;\nimport butterknife.Unbinder;\nimport rx.android.schedulers.AndroidSchedulers;\nimport rx.functions.Action1;\nimport rx.schedulers.Schedulers;\n\npublic class CategoryFragment extends Fragment {\n    private static final String TAG = \"CategoryFragment\";\n\n    @BindView(R.id.recycler_view)\n    RecyclerView recyclerView;\n\n    private CategoryAdapter mCategoryAdapter;\n    private Unbinder unbinder;\n\n    public CategoryFragment() { }\n\n    public static CategoryFragment newInstance() {\n        CategoryFragment fragment = new CategoryFragment();\n        return fragment;\n    }\n\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater, ViewGroup container,\n                             Bundle savedInstanceState) {\n        return inflater.inflate(R.layout.fragment_category, container, false);\n    }\n\n    @Override\n    public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view, savedInstanceState);\n        unbinder = ButterKnife.bind(this, view);\n\n        if (mCategoryAdapter == null) {\n            mCategoryAdapter = new CategoryAdapter();\n        }\n        recyclerView.setLayoutManager(new GridLayoutManager(getContext(), 2));\n        recyclerView.setAdapter(mCategoryAdapter);\n        recyclerView.addItemDecoration(new GridItemDecoration(getContext()));\n\n        DataManager.getInstance(getContext())\n                .loadCategory()\n                .subscribeOn(Schedulers.io())\n                .observeOn(AndroidSchedulers.mainThread())\n                .subscribe(onLoad, onError);\n    }\n\n    @Override\n    public void onDestroyView() {\n        super.onDestroyView();\n        unbinder.unbind();\n    }\n\n    public Action1<List<String>> onLoad = new Action1<List<String>>() {\n        @Override\n        public void call(List<String> strings) {\n            mCategoryAdapter.addCategory(strings);\n        }\n    };\n\n    public Action1<Throwable> onError = new Action1<Throwable>() {\n        @Override\n        public void call(Throwable throwable) {\n            Log.e(TAG, \"call: \", throwable);\n        }\n    };\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/fragment/GankFragment.java",
    "content": "package com.yiyuanliu.flipgank.fragment;\n\nimport android.content.Context;\nimport android.os.Bundle;\nimport android.support.annotation.Nullable;\nimport android.support.v4.app.Fragment;\nimport android.support.v7.widget.RecyclerView;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.ImageView;\nimport android.widget.TextView;\nimport android.widget.Toast;\n\nimport com.google.gson.Gson;\nimport com.yiyuanliu.flipgank.activity.BaseActivity;\nimport com.yiyuanliu.flipgank.activity.MainActivity;\nimport com.yiyuanliu.flipgank.R;\nimport com.yiyuanliu.flipgank.adapter.GankAdapter;\nimport com.yiyuanliu.flipgank.data.DataManager;\nimport com.yiyuanliu.flipgank.data.GankItem;\nimport com.yiyuanliu.flipgank.view.flipview.FlipLayoutManager;\nimport com.yiyuanliu.flipgank.view.flipview.FlipRefreshListener;\nimport com.yiyuanliu.flipgank.view.flipview.MySnap;\n\nimport java.util.Iterator;\nimport java.util.List;\nimport java.util.concurrent.TimeUnit;\n\nimport butterknife.BindView;\nimport butterknife.ButterKnife;\nimport butterknife.Unbinder;\nimport rx.Subscription;\nimport rx.android.schedulers.AndroidSchedulers;\nimport rx.functions.Action1;\nimport rx.schedulers.Schedulers;\n\npublic class GankFragment extends Fragment implements FlipRefreshListener.Listener, GankAdapter.Listener {\n    private static final String TAG = \"GankFragment\";\n\n    private static final String ARG_TYPE = \"type\";\n\n    private String mType;\n    private Unbinder unbinder;\n    private GankAdapter mAdapter;\n    private String mLastLoad;\n    private String mLatest;\n    private DataManager mDataManager;\n    private Subscription mSubscription;\n    private BaseActivity baseActivity;\n    private boolean mIsLoading;\n    private FlipRefreshListener mFlipListener;\n    private boolean mHasMore = true;\n\n    @BindView(R.id.recycler_view)\n    RecyclerView recyclerView;\n    @BindView(R.id.refresh_hint)\n    TextView refreshHint;\n    @BindView(R.id.refresh_icon)\n    ImageView refreshIcon;\n\n    public GankFragment() { }\n\n    public static GankFragment newInstance(String type) {\n        GankFragment fragment = new GankFragment();\n        Bundle args = new Bundle();\n        args.putString(ARG_TYPE, type);\n        fragment.setArguments(args);\n        return fragment;\n    }\n\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        if (getArguments() != null) {\n            mType = getArguments().getString(ARG_TYPE);\n        }\n\n        mDataManager = DataManager.getInstance(getContext());\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater, ViewGroup container,\n                             Bundle savedInstanceState) {\n        return inflater.inflate(R.layout.fragment_gank, container, false);\n    }\n\n    @Override\n    public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view, savedInstanceState);\n        unbinder = ButterKnife.bind(this, view);\n        if (mAdapter == null) {\n            mAdapter = new GankAdapter(getContext(), this);\n        }\n\n        recyclerView.setAdapter(mAdapter);\n        FlipLayoutManager layoutManager = new FlipLayoutManager(getContext());\n\n        recyclerView.setItemAnimator(null);\n        recyclerView.setLayoutManager(layoutManager);\n        MySnap snap = new MySnap();\n        snap.attachToRecyclerView(recyclerView);\n        if (mFlipListener == null) {\n            mFlipListener = new FlipRefreshListener(this);\n        }\n        recyclerView.addOnScrollListener(mFlipListener);\n\n        if (mAdapter.getDataCount() == 0) {\n            if (mType == null)\n                loadNew();\n            else {\n                loadMore();\n            }\n        } else {\n            mFlipListener.onScrolled(recyclerView, 0, 0);\n        }\n    }\n\n    @Override\n    public void onDestroyView() {\n        super.onDestroyView();\n        unbinder.unbind();\n        if (mSubscription != null) {\n            mSubscription.unsubscribe();\n        }\n\n        mIsLoading = false;\n    }\n\n    @Override\n    public void onAttach(Context context) {\n        super.onAttach(context);\n        if (context instanceof BaseActivity) {\n            baseActivity = (BaseActivity) context;\n        }\n    }\n\n    @Override\n    public void onDetach() {\n        super.onDetach();\n        baseActivity = null;\n    }\n\n    private void loadMore() {\n        if (mSubscription != null) {\n            mSubscription.unsubscribe();\n        }\n\n        mIsLoading = true;\n\n        mSubscription = mDataManager.loadMore(mLastLoad)\n                .subscribeOn(Schedulers.io())\n                .observeOn(AndroidSchedulers.mainThread())\n                .subscribe(onMore, new Action1<Throwable>() {\n                    @Override\n                    public void call(Throwable throwable) {\n                        // do nothing\n                    }\n                });\n    }\n\n    private void loadNew() {\n        Log.d(TAG, \"loadNew: \");\n\n        if (mSubscription != null) {\n            mSubscription.unsubscribe();\n        }\n        mIsLoading = true;\n        //延时一下，效果看起来更明显\n        mSubscription = mDataManager.loadNew()\n                .delay(1500, TimeUnit.MILLISECONDS)\n                .subscribeOn(Schedulers.io())\n                .observeOn(AndroidSchedulers.mainThread())\n                .subscribe(onNew, onError);\n    }\n\n    private Action1<Throwable> onError = new Action1<Throwable>() {\n        @Override\n        public void call(Throwable throwable) {\n            mIsLoading = false;\n\n            Log.e(TAG, \"onError\", throwable);\n            if (baseActivity != null) {\n                baseActivity.showInfo(\"加载失败\");\n            } else {\n                Toast.makeText(getContext(), \"加载失败\", Toast.LENGTH_SHORT).show();\n            }\n        }\n    };\n\n    private Action1<List<GankItem>> onNew = new Action1<List<GankItem>>() {\n        @Override\n        public void call(List<GankItem> gankItemList) {\n            mIsLoading = false;\n\n            if (gankItemList.size() > 0) {\n                mHasMore = true;\n                final String latest = gankItemList.get(0).day;\n                if (!latest.equals(mLatest)) {\n                    mLatest = latest;\n                    mLastLoad = latest;\n                    mAdapter.clear();\n                    if (mType != null) {\n                        Iterator<GankItem> itemIterator = gankItemList.listIterator();\n                        while (itemIterator.hasNext()) {\n                            if (!itemIterator.next().type.equals(mType)) {\n                                itemIterator.remove();\n                            }\n                        }\n                    }\n                    mAdapter.addData(gankItemList);\n                    recyclerView.scrollToPosition(0);\n\n                    if (baseActivity != null) {\n                        baseActivity.setLoading(false);\n                    }\n                } else if (baseActivity != null) {\n                    baseActivity.showInfo(\"已经是最新内容\");\n                }\n            }\n            mFlipListener.onScrolled(recyclerView, 0, 0);\n        }\n    };\n\n    private Action1<List<GankItem>> onMore = new Action1<List<GankItem>>() {\n        @Override\n        public void call(List<GankItem> gankItemList) {\n            mIsLoading = false;\n\n            if (gankItemList.size() > 0) {\n                mLastLoad = gankItemList.get(0).day;\n                Log.d(TAG, \"onMore: \" + mLastLoad + new Gson().toJson(gankItemList.get(0)));\n                if (mType != null && !mType.equals(\"like\")) {\n                    Iterator<GankItem> itemIterator = gankItemList.listIterator();\n                    while (itemIterator.hasNext()) {\n                        if (!itemIterator.next().type.equals(mType)) {\n                            itemIterator.remove();\n                        }\n                    }\n                }\n\n                if (mType != null && mType.equals(\"like\")) {\n                    Iterator<GankItem> itemIterator = gankItemList.listIterator();\n                    while (itemIterator.hasNext()) {\n                        if (!itemIterator.next().like) {\n                            itemIterator.remove();\n                        }\n                    }\n                }\n\n                mAdapter.addData(gankItemList);\n\n                if (mLatest == null) {\n                    mLatest = mLastLoad;\n                }\n            } else {\n                mHasMore = false;\n                mAdapter.setHasMore(mHasMore);\n            }\n\n            mAdapter.setHasMore(mHasMore);\n            mFlipListener.onScrolled(recyclerView, 0, 0);\n        }\n    };\n\n    @Override\n    public void onRefresh() {\n        loadNew();\n        if (baseActivity != null) {\n            baseActivity.setLoading(true);\n        }\n    }\n\n    @Override\n    public void onDrag(float percent, boolean shouldRefresh) {\n        if (refreshHint != null && getView() != null) {\n            if (shouldRefresh) {\n                refreshHint.setText(\"松开可以刷新\");\n            } else {\n                refreshHint.setText(\"下拉刷新页面\");\n            }\n\n            View view = getView();\n            int from = 0x00;\n            int to = 0x30;\n            int now = (from + (int)((to - from) * percent));\n            int color = 0xFF << 24 | now << 16 | now << 8 | now;\n            view.setBackgroundColor(color);\n            refreshIcon.setRotation(percent * 360);\n        }\n    }\n\n    @Override\n    public void onLoadMore() {\n        if (!mIsLoading && mHasMore) {\n            loadMore();\n        }\n    }\n\n    @Override\n    public void showInfo(String info) {\n        if (baseActivity != null) {\n            baseActivity.showInfo(info);\n        }\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/view/GankBottom.java",
    "content": "package com.yiyuanliu.flipgank.view;\n\nimport android.content.Context;\nimport android.support.v7.widget.LinearLayoutManager;\nimport android.util.AttributeSet;\nimport android.view.View;\nimport android.widget.LinearLayout;\nimport android.widget.TextView;\n\nimport com.yiyuanliu.flipgank.R;\nimport com.yiyuanliu.flipgank.data.GankItem;\nimport com.yiyuanliu.flipgank.view.flipview.FlipRefreshListener;\n\nimport butterknife.BindView;\nimport butterknife.ButterKnife;\nimport butterknife.OnClick;\n\n/**\n * Created by YiyuanLiu on 2016/12/21.\n */\n\npublic class GankBottom extends LinearLayout implements GankItemView {\n\n    @BindView(R.id.title)\n    TextView title;\n    @BindView(R.id.type)\n    TextView type;\n    @BindView(R.id.url)\n    TextView url;\n    @BindView(R.id.who)\n    TextView who;\n    @BindView(R.id.time)\n    TextView time;\n\n    public GankBottom(Context context) {\n        super(context);\n    }\n\n    public GankBottom(Context context, AttributeSet attrs) {\n        super(context, attrs);\n    }\n\n    public GankBottom(Context context, AttributeSet attrs, int defStyleAttr) {\n        super(context, attrs, defStyleAttr);\n    }\n\n    @Override\n    protected void onFinishInflate() {\n        super.onFinishInflate();\n        ButterKnife.bind(this);\n    }\n\n    @Override\n    public void bind(final GankItem gankItem, final GankItemView.Listener listener) {\n        if (gankItem != null) {\n            title.setText(gankItem.desc);\n            type.setText(gankItem.type);\n            if (gankItem.who == null) {\n                who.setVisibility(GONE);\n            } else {\n                who.setVisibility(VISIBLE);\n                who.setText(gankItem.who);\n            }\n            url.setText(gankItem.url);\n            time.setText(gankItem.day);\n        }\n    }\n\n    @OnClick(R.id.url)\n    void openUrl() {\n\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/view/GankItemView.java",
    "content": "package com.yiyuanliu.flipgank.view;\n\nimport com.yiyuanliu.flipgank.data.GankItem;\n\n/**\n * Created by YiyuanLiu on 2016/12/20.\n */\npublic interface GankItemView {\n    void bind(GankItem gankItem, Listener listener);\n\n    interface Listener {\n        void open(GankItem gankItem);\n        void showBottomSheet(GankItem gankItem);\n        void like(GankItem gankItem);\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/view/GridItemDecoration.java",
    "content": "package com.yiyuanliu.flipgank.view;\n\nimport android.content.Context;\nimport android.graphics.Rect;\nimport android.support.v7.widget.RecyclerView;\nimport android.view.View;\n\nimport java.util.Collections;\n\n/**\n * Created by YiyuanLiu on 2016/12/22.\n */\n\npublic class GridItemDecoration extends RecyclerView.ItemDecoration {\n    private int dimen;\n\n    public GridItemDecoration(Context context) {\n        dimen = (int) (context.getResources().getDisplayMetrics().density * 1);\n    }\n\n    @Override\n    public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) {\n        int position = parent.getChildAdapterPosition(view);\n        if (position % 2 == 0) {\n            outRect.right += dimen;\n        } else {\n            outRect.left += dimen;\n        }\n\n        if (position > 1) {\n            outRect.top += dimen;\n        }\n\n        if (position / 2 < state.getItemCount() / 2) {\n            outRect.bottom += dimen;\n        }\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/view/HeadItem.java",
    "content": "package com.yiyuanliu.flipgank.view;\n\nimport android.content.Context;\nimport android.text.TextUtils;\nimport android.util.AttributeSet;\nimport android.util.Log;\nimport android.widget.FrameLayout;\nimport android.widget.ImageView;\n\nimport com.bumptech.glide.Glide;\nimport com.google.gson.Gson;\nimport com.yiyuanliu.flipgank.R;\nimport com.yiyuanliu.flipgank.data.GankItem;\n\nimport butterknife.BindView;\nimport butterknife.BindViews;\nimport butterknife.ButterKnife;\n\n/**\n * Created by YiyuanLiu on 2016/12/20.\n */\n\npublic class HeadItem extends FrameLayout implements GankItemView {\n\n    private static final String TAG = \"HeadItem\";\n\n    @BindView(R.id.image)\n    ImageView image;\n\n    public HeadItem(Context context) {\n        super(context);\n    }\n\n    public HeadItem(Context context, AttributeSet attrs) {\n        super(context, attrs);\n    }\n\n    public HeadItem(Context context, AttributeSet attrs, int defStyleAttr) {\n        super(context, attrs, defStyleAttr);\n    }\n\n    public void bind(GankItem gankItem, Listener listener) {\n        if (gankItem != null) {\n            if (!TextUtils.isEmpty(gankItem.getImage())) {\n                Glide.with(getContext())\n                        .load(gankItem.getImage())\n                        .centerCrop()\n                        .into(image);\n            } else {\n                Log.e(TAG, \"no image \" + new Gson().toJson(gankItem));\n            }\n        }\n    }\n\n    @Override\n    protected void onFinishInflate() {\n        super.onFinishInflate();\n        ButterKnife.bind(this);\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/view/NormalItem.java",
    "content": "package com.yiyuanliu.flipgank.view;\n\nimport android.content.Context;\nimport android.content.res.ColorStateList;\nimport android.support.annotation.Nullable;\nimport android.text.TextUtils;\nimport android.util.AttributeSet;\nimport android.util.Log;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.Button;\nimport android.widget.FrameLayout;\nimport android.widget.ImageButton;\nimport android.widget.ImageView;\nimport android.widget.TextView;\n\nimport com.bumptech.glide.Glide;\nimport com.yiyuanliu.flipgank.R;\nimport com.yiyuanliu.flipgank.data.GankItem;\n\nimport butterknife.BindView;\nimport butterknife.ButterKnife;\n\n/**\n * Created by YiyuanLiu on 2016/12/20.\n */\n\npublic class NormalItem extends FrameLayout implements GankItemView {\n    private static final String TAG = \"NormalItem\";\n\n    private int width;\n\n    @BindView(R.id.title)\n    TextView title;\n    @BindView(R.id.type)\n    TextView type;\n    @Nullable @BindView(R.id.image)\n    ImageView image;\n    @BindView(R.id.show_bottom)\n    ImageButton showBottom;\n    @BindView(R.id.like)\n    ImageButton likeButton;\n\n    public NormalItem(Context context) {\n        super(context);\n    }\n\n    public NormalItem(Context context, AttributeSet attrs) {\n        super(context, attrs);\n    }\n\n    public NormalItem(Context context, AttributeSet attrs, int defStyleAttr) {\n        super(context, attrs, defStyleAttr);\n    }\n\n    public void bind(final GankItem gankItem, final Listener listener) {\n        if(gankItem != null) {\n            title.setText(gankItem.desc);\n            type.setText(gankItem.type);\n\n            if (image != null) {\n                if (TextUtils.isEmpty(gankItem.getImage())) {\n                    image.setVisibility(GONE);\n                } else {\n                    image.setVisibility(VISIBLE);\n\n                    if (width == 0) {\n                        width = (int) (getResources().getDisplayMetrics().density * 100);\n                    }\n\n                    Glide.with(getContext())\n                            .load(gankItem.getImage() + \"?imageView2/1/w/\" + width)\n                            .placeholder(R.drawable.drawable_placeholder)\n                            .centerCrop()\n                            .into(image);\n                }\n            }\n\n            if (gankItem.like) {\n                likeButton.setImageResource(R.drawable.bt_like);\n            } else {\n                likeButton.setImageResource(R.drawable.bt_unlike);\n            }\n        } else {\n            title.setText(null);\n            type.setText(null);\n            if (image!= null) {\n                image.setVisibility(GONE);\n            }\n        }\n\n        showBottom.setOnClickListener(new OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                listener.showBottomSheet(gankItem);\n            }\n        });\n\n        likeButton.setOnClickListener(new OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                gankItem.like = !gankItem.like;\n                if (gankItem.like) {\n                    likeButton.setImageResource(R.drawable.bt_like);\n                } else {\n                    likeButton.setImageResource(R.drawable.bt_unlike);\n                }\n                listener.like(gankItem);\n            }\n        });\n\n        setOnClickListener(new OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                listener.open(gankItem);\n            }\n        });\n    }\n\n    @Override\n    protected void onFinishInflate() {\n        super.onFinishInflate();\n        ButterKnife.bind(this);\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/view/flipview/FlipCard.java",
    "content": "package com.yiyuanliu.flipgank.view.flipview;\n\nimport android.content.Context;\nimport android.graphics.Camera;\nimport android.graphics.Canvas;\nimport android.graphics.Matrix;\nimport android.graphics.Paint;\nimport android.util.AttributeSet;\nimport android.widget.FrameLayout;\n\n/**\n * Created by YiyuanLiu on 2016/12/15.\n */\n\npublic class FlipCard extends FrameLayout {\n\n    private static final String TAG = \"FlipCard\";\n\n    private Paint mScrimPaint;\n\n    private Camera mCamera;\n    private Matrix mMatrix;\n\n    private boolean mIsForground;\n    private float mPercent;\n\n    public FlipCard(Context context) {\n        this(context, null);\n    }\n\n    public FlipCard(Context context, AttributeSet attrs) {\n        this(context, attrs, 0);\n    }\n\n    public FlipCard(Context context, AttributeSet attrs, int defStyleAttr) {\n        super(context, attrs, defStyleAttr);\n\n        mScrimPaint = new Paint();\n        mCamera = new Camera();\n        mMatrix = new Matrix();\n    }\n\n    public void setState(boolean isForground, float percent) {\n        mIsForground = isForground;\n        mPercent = percent;\n    }\n\n    @Override\n    public void draw(Canvas canvas) {\n\n        if (mPercent == 0) {\n            super.draw(canvas);\n            return;\n        }\n\n        final int height = canvas.getHeight();\n        final int width = canvas.getWidth();\n        final float percent = mPercent > 0 ? mPercent : -mPercent;\n\n        if (mIsForground) {\n            // clip card effect for forground view\n            // draw part1\n            int save1 = canvas.save();\n            if (mPercent > 0) {\n                canvas.clipRect(0, 0, width, height / 2);\n            } else {\n                canvas.clipRect(0, height / 2, width, height);\n            }\n            super.draw(canvas);\n            canvas.restoreToCount(save1);\n\n            // draw part2\n            if (mPercent < 0) {\n                canvas.clipRect(0, 0, width, height / 2);\n            } else {\n                canvas.clipRect(0, height / 2, width, height);\n            }\n            mCamera.save();\n            mCamera.setLocation(0f, 0f, -80);\n            mCamera.rotateX(mPercent * 180);\n            mCamera.getMatrix(mMatrix);\n            mCamera.restore();\n            mMatrix.preTranslate(-width / 2, -height / 2);\n            mMatrix.postTranslate(width / 2, height / 2);\n            canvas.concat(mMatrix);\n            super.draw(canvas);\n\n            mScrimPaint.setColor(0x08000000);\n            canvas.drawRect(0, 0, width, height, mScrimPaint);\n        } else {\n            // draw shadow for underground view\n            final int scrimColor = (int) (0xff * (1 - percent * 2)) << 24;\n            mScrimPaint.setColor(scrimColor);\n\n            if (mPercent < 0) {\n                canvas.clipRect(0, 0, width, height / 2);\n            } else {\n                canvas.clipRect(0, height / 2, width, height);\n            }\n\n            super.draw(canvas);\n            canvas.drawRect(0, 0, width, height, mScrimPaint);\n        }\n    }\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/view/flipview/FlipLayoutManager.java",
    "content": "package com.yiyuanliu.flipgank.view.flipview;\n\nimport android.content.Context;\nimport android.graphics.PointF;\nimport android.os.Parcel;\nimport android.os.Parcelable;\nimport android.support.v7.widget.LinearSmoothScroller;\nimport android.support.v7.widget.RecyclerView;\nimport android.util.Log;\nimport android.view.View;\nimport android.view.ViewGroup;\n\npublic class FlipLayoutManager extends RecyclerView.LayoutManager implements RecyclerView.SmoothScroller.ScrollVectorProvider {\n    private static final String TAG = \"FlipLayoutManager\";\n    private static final int MIN_VY = 200;\n\n    private int mPosition;\n    private int mPositionOffset;\n    private int mMinVy;\n\n    private int mPendingPosition;\n\n    public FlipLayoutManager(Context context) {\n        mMinVy = (int) (context.getResources().getDisplayMetrics().density * MIN_VY);\n    }\n\n    @Override\n    public void onRestoreInstanceState(Parcelable state) {\n        SavedState savedState = (SavedState) state;\n        mPosition = savedState.position;\n        mPositionOffset = savedState.positionOffset;\n        mPendingPosition = savedState.pendingPosition;\n    }\n\n    @Override\n    public Parcelable onSaveInstanceState() {\n        return new SavedState(mPosition, mPositionOffset, mPendingPosition);\n    }\n\n    public boolean onRefreshPage() {\n        return mPosition == 0 && mPositionOffset < 0;\n    }\n\n    public float getRefreshPercent() {\n        int max = (int) (getItemHeightInPositon() / 5 * 2);\n        return - mPositionOffset / (float)max;\n    }\n\n    public int calculateDistance(View view) {\n        int pos = getPosition(view);\n        final int now = getItemHeightInPositon() * mPosition + mPositionOffset;\n        final int to = getItemHeightInPositon() * pos;\n\n        return to - now;\n    }\n\n    public int findTargetPosition(int vY) {\n        int ans = mPosition;\n\n        int absV = vY > 0 ? vY : -vY;\n        if (absV > mMinVy) {\n            if (vY * mPositionOffset > 0) {\n                int d = vY > 0 ? 1 : -1;\n                ans += d;\n            } else {\n                ans = mPosition;\n            }\n        } else {\n            ans = mPosition;\n        }\n\n        int count = getItemCount();\n        if (count == 0) {\n            return 0;\n        }\n\n        ans = Math.min(count - 1, Math.max(0, ans));\n        return ans;\n    }\n\n    @Override\n    public RecyclerView.LayoutParams generateDefaultLayoutParams() {\n        return new RecyclerView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);\n    }\n\n    @Override\n    public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) {\n        if (state.getItemCount() == 0) {\n            removeAndRecycleAllViews(recycler);\n            return;\n        }\n\n        if (mPendingPosition != -1) {\n            mPositionOffset = 0;\n            mPosition = mPendingPosition;\n            mPendingPosition = -1;\n        }\n\n        fill(recycler, state);\n    }\n\n    // 有 bug 继续改\n    private void fill(RecyclerView.Recycler recycler, RecyclerView.State state) {\n        checkPosition(state);\n\n        View primary = null;\n        View previous = null;\n        View next = null;\n\n        detachAndScrapAttachedViews(recycler);\n\n        primary = recycler.getViewForPosition(mPosition);\n        if (mPosition + 1 > 0 && mPosition + 1 < state.getItemCount()) {\n            next = recycler.getViewForPosition(mPosition + 1);\n        }\n        if (mPosition - 1 > 0 && mPosition - 1 < state.getItemCount()) {\n            previous = recycler.getViewForPosition(mPosition - 1);\n        }\n\n        View secondary = null;\n        final int nextPos = mPositionOffset > 0 ? mPosition + 1 : mPosition - 1;\n        if (mPositionOffset != 0 && nextPos >= 0 && nextPos < state.getItemCount()) {\n            secondary = mPositionOffset > 0 ? next : previous;\n            secondary = secondary != null ? secondary : recycler.getViewForPosition(nextPos);\n            addView(secondary);\n            measureChildWithMargins(secondary, 0, 0);\n            layoutDecorated(secondary, 0, 0, getWidth(), getHeight());\n        }\n\n        if (secondary != previous && previous != null) {\n            recycler.recycleView(previous);\n        }\n        if (secondary != next && next != null) {\n            recycler.recycleView(next);\n        }\n\n        addView(primary);\n        measureChildWithMargins(primary, 0, 0);\n        layoutDecorated(primary, 0, 0, getWidth(), getHeight());\n\n        if (primary instanceof FlipCard && (secondary == null || secondary instanceof FlipCard)) {\n            final float percent = (float)mPositionOffset / getItemHeightInPositon();\n            if (secondary == null) {\n                ((FlipCard) primary).setState(true, percent);\n            } else {\n                ((FlipCard) secondary).setState(false, percent);\n                ((FlipCard) primary).setState(true, percent);\n            }\n        } else {\n            throw new IllegalStateException(\"itemView should be instance of FlipCard\");\n        }\n    }\n\n    private void checkPosition(RecyclerView.State state) {\n        final int itemHeight = getItemHeightInPositon();\n        final int total = mPosition * itemHeight + mPositionOffset;\n        final int max = (state.getItemCount() - 1) * itemHeight + itemHeight / 5 * 2;\n\n        int pos = Math.max(-itemHeight / 5 * 2, Math.min(total, max));\n        mPosition = Math.round(pos / (float)itemHeight);\n        mPosition = mPosition >= 0 ? mPosition : 0;\n        mPositionOffset = (int) (pos - mPosition * itemHeight);\n    }\n\n    @Override\n    public boolean canScrollVertically() {\n        return true;\n    }\n\n    @Override\n    public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) {\n        final int before = mPosition * getItemHeightInPositon() + mPositionOffset;\n        mPositionOffset += dy;\n        checkPosition(state);\n        final int after = mPosition * getItemHeightInPositon() + mPositionOffset;\n        final int ans = (int) (after - before);\n\n        fill(recycler, state);\n\n        return ans;\n    }\n\n    @Override\n    public void scrollToPosition(int position) {\n        mPosition = position;\n        mPositionOffset = 0;\n        requestLayout();\n        Log.d(TAG, \"scrollToPosition \" + position + \" position \" + mPosition + \" positionOffset \" + mPositionOffset);\n    }\n\n    @Override\n    public void smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, int position) {\n        Log.d(TAG, \"smoothScrollTo \" + position + \" position \" + mPosition + \" positionOffset \" + mPositionOffset);\n        FlipScroller scroller = new FlipScroller(recyclerView.getContext());\n        scroller.setTargetPosition(position);\n        startSmoothScroll(scroller);\n    }\n\n    @Override\n    public PointF computeScrollVectorForPosition(int targetPosition) {\n        int dir = 0;\n        int now = mPosition * getItemHeightInPositon() + mPositionOffset;\n        int to = targetPosition * getItemHeightInPositon();\n        if (now > to) {\n            dir = -1;\n        } else if (now < to) {\n            dir = 1;\n        }\n\n        Log.d(TAG, \"computeScrollVector \" + dir + \" now \" + mPosition + \" target \" + targetPosition);\n\n        return new PointF(0, dir);\n    }\n\n    public View findSnapView() {\n\n        for (int i = 0;i < getChildCount(); i ++ ){\n            View child = getChildAt(i);\n            if (getPosition(child) == mPosition) {\n                return child;\n            }\n        }\n\n        return null;\n    }\n\n    private int getItemHeightInPositon() {\n        return getHeight() * 2 / 3;\n    }\n\n    public boolean shouldLoadMore() {\n        return getItemCount() - mPosition < 3;\n    }\n\n    private class FlipScroller extends LinearSmoothScroller {\n        private static final String TAG = \"FlipScroller\";\n\n        public FlipScroller(Context context) {\n            super(context);\n        }\n\n        @Override\n        public int calculateDyToMakeVisible(View view, int snapPreference) {\n            final int position = getPosition(view);\n            final int now = mPositionOffset + mPosition * getItemHeightInPositon();\n            final int to = getPosition(view) * getItemHeightInPositon();\n            Log.d(TAG, \"calculateDyToMakeVisible: position \" + position + \" ans \" + (to - now));\n            return (now - to);\n        }\n\n        @Override\n        public int calculateDxToMakeVisible(View view, int snapPreference) {\n            return 0;\n        }\n    }\n\n    private static class SavedState implements Parcelable {\n        private int position;\n        private int positionOffset;\n        private int pendingPosition;\n\n        SavedState(int position, int positionOffset, int pendingPosition) {\n            this.position = position;\n            this.positionOffset = positionOffset;\n            this.pendingPosition = pendingPosition;\n        }\n\n        @Override\n        public int describeContents() {\n            return 0;\n        }\n\n        @Override\n        public void writeToParcel(Parcel dest, int flags) {\n            dest.writeInt(position);\n            dest.writeInt(positionOffset);\n            dest.writeInt(pendingPosition);\n        }\n\n        public static final Parcelable.Creator<SavedState> CREATOR\n                = new Parcelable.Creator<SavedState>() {\n\n            @Override\n            public SavedState createFromParcel(Parcel source) {\n                final int position = source.readInt();\n                final int positionOffset = source.readInt();\n                final int pendingPosition = source.readInt();\n                SavedState savedState = new SavedState(position, positionOffset, pendingPosition);\n                return savedState;\n            }\n\n            @Override\n            public SavedState[] newArray(int size) {\n                return new SavedState[size];\n            }\n        };\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/view/flipview/FlipRefreshListener.java",
    "content": "package com.yiyuanliu.flipgank.view.flipview;\n\nimport android.support.annotation.NonNull;\nimport android.support.v7.widget.RecyclerView;\n\n/**\n * Created by YiyuanLiu on 2016/12/20.\n */\n\npublic class FlipRefreshListener extends RecyclerView.OnScrollListener {\n    private Listener mListener;\n\n    public FlipRefreshListener(@NonNull Listener listener) {\n        mListener = listener;\n    }\n\n    @Override\n    public void onScrolled(RecyclerView recyclerView, int dx, int dy) {\n        super.onScrolled(recyclerView, dx, dy);\n        RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager();\n        if (layoutManager != null && layoutManager instanceof FlipLayoutManager) {\n            FlipLayoutManager flipLayoutManager = (FlipLayoutManager) layoutManager;\n            if (flipLayoutManager.onRefreshPage()) {\n                float percent = flipLayoutManager.getRefreshPercent();\n                boolean shouldRefresh = percent > 0.7f;\n                mListener.onDrag(percent, shouldRefresh);\n            } else if (flipLayoutManager.shouldLoadMore()){\n                mListener.onLoadMore();\n            }\n        } else {\n            throw new IllegalStateException();\n        }\n    }\n\n    @Override\n    public void onScrollStateChanged(RecyclerView recyclerView, int newState) {\n        RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager();\n        if (layoutManager != null && layoutManager instanceof FlipLayoutManager) {\n            FlipLayoutManager flipLayoutManager = (FlipLayoutManager) layoutManager;\n            if (!flipLayoutManager.onRefreshPage()) {\n                return;\n            }\n\n            float percent = flipLayoutManager.getRefreshPercent();\n            boolean shouldRefresh = percent > 0.7f;\n            if (newState == RecyclerView.SCROLL_STATE_SETTLING) {\n                if (shouldRefresh) {\n                    mListener.onRefresh();\n                }\n            }\n        }\n    }\n\n    public interface Listener {\n        void onRefresh();\n        void onDrag(float percent, boolean shouldRefresh);\n        void onLoadMore();\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/yiyuanliu/flipgank/view/flipview/MySnap.java",
    "content": "package com.yiyuanliu.flipgank.view.flipview;\n\nimport android.support.annotation.NonNull;\nimport android.support.annotation.Nullable;\nimport android.support.v7.widget.RecyclerView;\nimport android.support.v7.widget.SnapHelper;\nimport android.util.Log;\nimport android.view.View;\n\n/**\n * Created by YiyuanLiu on 2016/12/15.\n */\n\npublic class MySnap extends SnapHelper {\n    private static final String TAG = \"MySnap\";\n\n    @Nullable\n    @Override\n    public int[] calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView) {\n        if (layoutManager instanceof FlipLayoutManager) {\n            return new int[]{0, ((FlipLayoutManager) layoutManager).calculateDistance(targetView)};\n        } else {\n            throw new RuntimeException();\n        }\n    }\n\n    @Nullable\n    @Override\n    public View findSnapView(RecyclerView.LayoutManager layoutManager) {\n        FlipLayoutManager flipLayoutManager = (FlipLayoutManager) layoutManager;\n\n        return flipLayoutManager.findSnapView();\n    }\n\n    @Override\n    public int findTargetSnapPosition(RecyclerView.LayoutManager layoutManager, int velocityX, int velocityY) {\n        if (layoutManager instanceof FlipLayoutManager) {\n            return ((FlipLayoutManager) layoutManager).findTargetPosition(velocityY);\n        } else {\n            throw new RuntimeException();\n        }\n    }\n}\n"
  },
  {
    "path": "app/src/main/res/anim/anim_scale_in.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:duration=\"200\">\n\n    <scale\n        android:pivotX=\"500\"\n        android:pivotY=\"500\"\n        android:fromXScale=\"0.9\"\n        android:fromYScale=\"0.9\"\n        android:toYScale=\"1\"\n        android:toXScale=\"1\"/>\n\n    <alpha\n        android:fromAlpha=\"0.4\"\n        android:toAlpha=\"1\"/>\n\n</set>"
  },
  {
    "path": "app/src/main/res/anim/anim_scale_out.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:duration=\"200\"\n    android:fillAfter=\"true\"\n    android:shareInterpolator=\"true\">\n\n    <scale\n        android:fromXScale=\"1\"\n        android:fromYScale=\"1\"\n        android:toYScale=\"0.9\"\n        android:toXScale=\"0.9\"\n        android:pivotX=\"500\"\n        android:pivotY=\"500\"/>\n\n    <alpha\n        android:fromAlpha=\"1\"\n        android:toAlpha=\"0.4\"/>\n\n\n</set>"
  },
  {
    "path": "app/src/main/res/anim/left_in.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:duration=\"120\"\n    android:startOffset=\"80\"\n    android:fillBefore=\"false\">\n\n    <translate\n        android:fromXDelta=\"1000\"\n        android:toXDelta=\"0\"/>\n\n</set>"
  },
  {
    "path": "app/src/main/res/anim/left_out.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:duration=\"120\"\n    android:startOffset=\"0\"\n    android:fillAfter=\"true\">\n\n    <translate\n        android:fromXDelta=\"0\"\n        android:toXDelta=\"1000\"/>\n\n</set>"
  },
  {
    "path": "app/src/main/res/color/color_icon_hint.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:color=\"#D0D0D0\"/>\n    <item android:state_selected=\"true\" android:color=\"@color/colorAccent\"/>\n</selector>"
  },
  {
    "path": "app/src/main/res/drawable/bg_category.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/bg_circle.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:shape=\"oval\">\n\n    <size\n        android:width=\"20dp\"\n        android:height=\"20dp\"/>\n\n    <solid\n        android:color=\"@color/colorAccent\"/>\n\n    <stroke\n        android:width=\"1px\"\n        android:color=\"@color/dividerColor\"/>\n\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/bg_info.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:shape=\"rectangle\">\n\n    <size\n        android:width=\"40dp\"\n        android:height=\"20dp\"/>\n    <solid\n        android:color=\"@color/colorBlack\" />\n\n    <corners\n        android:radius=\"8dp\" />\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/bg_type.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:shape=\"rectangle\">\n\n    <size\n        android:height=\"10dp\"\n        android:width=\"30dp\"/>\n\n    <solid\n        android:color=\"@color/colorAccent\"/>\n\n    <corners\n        android:radius=\"2dp\"/>\n\n    <padding\n        android:left=\"4dp\"\n        android:right=\"4dp\"\n        android:top=\"4dp\"\n        android:bottom=\"4dp\"/>\n\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/bt_like.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<bitmap xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:src=\"@drawable/ic_favorite_black\"\n    android:gravity=\"center\"\n    android:tint=\"@color/colorAccent\">\n\n</bitmap>"
  },
  {
    "path": "app/src/main/res/drawable/bt_open.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item\n        android:gravity=\"center\">\n        <bitmap\n            android:antialias=\"true\"\n            android:src=\"@drawable/ic_launch\"\n            android:tint=\"@color/dividerColor\"/>\n    </item>\n\n    <item android:drawable=\"?selectableItemBackgroundBorderless\"/>\n\n</layer-list>"
  },
  {
    "path": "app/src/main/res/drawable/bt_show_bottom.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n    <item android:gravity=\"center_horizontal|top\">\n        <bitmap android:src=\"@drawable/ic_expand\"\n            android:tint=\"@color/dividerColor\"/>\n    </item>\n\n    <item android:drawable=\"?selectableItemBackground\"/>\n</layer-list>"
  },
  {
    "path": "app/src/main/res/drawable/bt_unlike.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<bitmap xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:src=\"@drawable/ic_favorite_border\"\n    android:tint=\"@color/dividerColor\">\n\n</bitmap>"
  },
  {
    "path": "app/src/main/res/drawable/drawable_loading.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:innerRadiusRatio=\"3\"\n    android:shape=\"ring\"\n    android:thicknessRatio=\"9\"\n    android:useLevel=\"false\">\n\n    <gradient\n        android:endColor=\"#FFFFFF\"\n        android:startColor=\"#FFFFFF\"\n        android:type=\"sweep\" />\n\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/drawable_placeholder.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <size\n        android:width=\"20dp\"\n        android:height=\"20dp\"/>\n\n    <gradient\n        android:angle=\"-90\"\n        android:startColor=\"#40000000\"\n        android:centerColor=\"#00000000\"\n        android:endColor=\"#00000000\"/>\n\n\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/icon_about.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item\n        android:state_selected=\"true\">\n        <bitmap android:src=\"@drawable/ic_person\"\n            android:tint=\"@color/colorAccent\"/>\n    </item>\n\n    <item>\n        <bitmap android:src=\"@drawable/ic_person\"\n            android:tint=\"#C0C0C0\"/>\n    </item>\n</selector>"
  },
  {
    "path": "app/src/main/res/drawable/icon_category.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item\n        android:state_selected=\"true\">\n        <bitmap android:src=\"@drawable/ic_grid\"\n            android:tint=\"@color/colorAccent\"/>\n    </item>\n\n    <item>\n        <bitmap android:src=\"@drawable/ic_grid\"\n            android:tint=\"#C0C0C0\"/>\n    </item>\n</selector>"
  },
  {
    "path": "app/src/main/res/drawable/icon_main.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n    <item android:state_selected=\"true\">\n        <bitmap android:src=\"@drawable/ic_home\"\n            android:tint=\"@color/colorAccent\"/>\n    </item>\n\n    <item>\n        <bitmap android:src=\"@drawable/ic_home\"\n            android:tint=\"#C0C0C0\"/>\n    </item>\n\n</selector>"
  },
  {
    "path": "app/src/main/res/drawable/shadow_bottom.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <size\n        android:width=\"100dp\"\n        android:height=\"100dp\"/>\n\n    <gradient\n        android:angle=\"90\"\n        android:startColor=\"#60000000\"\n        android:centerColor=\"#28000000\"\n        android:endColor=\"#00000000\"/>\n\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/shadow_top.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n    <size\n        android:width=\"20dp\"\n        android:height=\"20dp\"/>\n\n    <gradient\n        android:angle=\"90\"\n        android:startColor=\"#00000000\"\n        android:centerColor=\"#28000000\"\n        android:endColor=\"#50000000\"/>\n</shape>"
  },
  {
    "path": "app/src/main/res/layout/activity_category.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<FrameLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:id=\"@+id/activity_category\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:orientation=\"vertical\"\n    tools:context=\"com.yiyuanliu.flipgank.activity.CategoryActivity\">\n\n    <FrameLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"56dp\"\n        android:background=\"@color/colorWhite\">\n\n        <ImageButton\n            android:id=\"@+id/back\"\n            android:clickable=\"true\"\n            android:layout_width=\"36dp\"\n            android:layout_height=\"36dp\"\n            android:layout_gravity=\"center_vertical\"\n            android:padding=\"6dp\"\n            android:background=\"?selectableItemBackgroundBorderless\"\n            android:src=\"@drawable/ic_back_24dp\"\n            android:layout_marginLeft=\"8dp\"/>\n\n        <TextView\n            android:id=\"@+id/title\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"56dp\"\n            android:layout_gravity=\"center\"\n            android:gravity=\"center_vertical\"\n            android:textSize=\"22dp\"\n            android:textColor=\"@color/textColorPrimary\"\n            tools:text=\"Android\"/>\n\n    </FrameLayout>\n\n    <FrameLayout\n        android:id=\"@+id/container\"\n        android:layout_marginTop=\"56dp\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"/>\n\n    <include\n        android:layout_height=\"1px\"\n        android:layout_width=\"match_parent\"\n        android:layout_marginTop=\"56dp\"\n        layout=\"@layout/layout_divider_hor\" />\n\n    <FrameLayout\n        android:id=\"@+id/scrim\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:visibility=\"gone\"\n        android:clickable=\"true\"\n        tools:visibility=\"visible\"\n        android:background=\"#80000000\">\n        <LinearLayout\n            android:id=\"@+id/info\"\n            android:layout_gravity=\"center_horizontal\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:background=\"@drawable/bg_info\"\n            android:padding=\"12dp\"\n            android:layout_marginTop=\"64dp\"\n            android:theme=\"@style/AppTheme.Black\">\n            <ProgressBar\n                android:id=\"@+id/loading\"\n                android:layout_width=\"20dp\"\n                android:layout_height=\"20dp\"\n                android:layout_gravity=\"center\"\n                android:layout_marginRight=\"8dp\"\n                style=\"@style/Widget.AppCompat.ProgressBar\"\n                android:tint=\"@color/textColorWhite\"/>\n            <TextView\n                android:id=\"@+id/text\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:textColor=\"#FFFFFF\"\n                android:textSize=\"20sp\"\n                android:text=\"加载中...\"/>\n        </LinearLayout>\n    </FrameLayout>\n\n\n</FrameLayout>\n"
  },
  {
    "path": "app/src/main/res/layout/activity_gank_view.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<FrameLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:id=\"@+id/activity_gank_view\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:orientation=\"vertical\"\n    tools:context=\"com.yiyuanliu.flipgank.activity.GankViewActivity\">\n\n    <LinearLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"56dp\"\n        android:background=\"@color/colorWhite\"\n        android:gravity=\"center_vertical\">\n        <ImageButton\n            android:id=\"@+id/back\"\n            android:clickable=\"true\"\n            android:layout_width=\"36dp\"\n            android:layout_height=\"36dp\"\n            android:padding=\"6dp\"\n            android:background=\"?selectableItemBackgroundBorderless\"\n            android:src=\"@drawable/ic_back_24dp\"\n            android:layout_marginLeft=\"8dp\"/>\n        <ProgressBar\n            android:id=\"@+id/loading\"\n            android:layout_width=\"24dp\"\n            android:layout_height=\"24dp\"\n            android:layout_marginLeft=\"8dp\"\n            android:theme=\"@style/AppTheme.White\"/>\n\n        <View\n            android:layout_width=\"0dp\"\n            android:layout_height=\"match_parent\"\n            android:layout_weight=\"1\"/>\n        <ImageButton\n            android:id=\"@+id/like\"\n            android:clickable=\"true\"\n            android:layout_width=\"36dp\"\n            android:layout_height=\"36dp\"\n            android:padding=\"6dp\"\n            android:background=\"?selectableItemBackgroundBorderless\"\n            android:src=\"@drawable/bt_unlike\"\n            android:tint=\"#000000\"\n            android:layout_marginLeft=\"8dp\"\n            android:visibility=\"gone\"/>\n\n        <ImageButton\n            android:id=\"@+id/share\"\n            android:clickable=\"true\"\n            android:layout_width=\"36dp\"\n            android:layout_height=\"36dp\"\n            android:padding=\"6dp\"\n            android:background=\"?selectableItemBackgroundBorderless\"\n            android:src=\"@drawable/ic_share\"\n            android:layout_marginLeft=\"8dp\"/>\n\n        <ImageButton\n            android:id=\"@+id/open_in_browser\"\n            android:clickable=\"true\"\n            android:layout_width=\"36dp\"\n            android:layout_height=\"36dp\"\n            android:padding=\"6dp\"\n            android:background=\"?selectableItemBackgroundBorderless\"\n            android:src=\"@drawable/ic_launch\"\n            android:tint=\"#000000\"\n            android:layout_marginLeft=\"8dp\"/>\n\n        <ImageButton\n            android:id=\"@+id/more\"\n            android:clickable=\"true\"\n            android:layout_width=\"36dp\"\n            android:layout_height=\"36dp\"\n            android:padding=\"6dp\"\n            android:background=\"?selectableItemBackgroundBorderless\"\n            android:src=\"@drawable/ic_expand\"\n            android:tint=\"#000000\"\n            android:layout_marginLeft=\"8dp\"\n            android:layout_marginRight=\"8dp\"/>\n    </LinearLayout>\n\n    <WebView\n        android:id=\"@+id/webview\"\n        android:layout_marginTop=\"56dp\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"/>\n\n    <include\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"1px\"\n        android:layout_marginTop=\"56dp\"\n        layout=\"@layout/layout_divider_hor\" />\n\n</FrameLayout>\n"
  },
  {
    "path": "app/src/main/res/layout/activity_main.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<FrameLayout\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:id=\"@+id/activity_main\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    tools:context=\"com.yiyuanliu.flipgank.activity.MainActivity\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\">\n    <FrameLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"56dp\"\n        android:background=\"#FFFFFF\">\n        <View\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"2dp\"\n            android:layout_gravity=\"bottom\"\n            android:background=\"#F0F0F0\"/>\n\n        <android.support.design.widget.TabLayout\n            android:id=\"@+id/tab_layout\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"56dp\"\n            app:tabIndicatorHeight=\"2dp\"/>\n    </FrameLayout>\n\n    <android.support.v4.view.ViewPager\n        android:id=\"@+id/view_pager\"\n        android:layout_marginTop=\"56dp\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\" />\n\n    <FrameLayout\n        android:id=\"@+id/scrim\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:visibility=\"gone\"\n        android:clickable=\"true\"\n        tools:visibility=\"visible\"\n        android:background=\"#80000000\">\n        <LinearLayout\n            android:id=\"@+id/info\"\n            android:layout_gravity=\"center_horizontal\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:background=\"@drawable/bg_info\"\n            android:padding=\"12dp\"\n            android:layout_marginTop=\"64dp\"\n            android:theme=\"@style/AppTheme.Black\">\n            <ProgressBar\n                android:id=\"@+id/loading\"\n                android:layout_width=\"20dp\"\n                android:layout_height=\"20dp\"\n                android:layout_gravity=\"center\"\n                android:layout_marginRight=\"8dp\"\n                style=\"@style/Widget.AppCompat.ProgressBar\"\n                android:tint=\"@color/textColorWhite\"/>\n            <TextView\n                android:id=\"@+id/text\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:textColor=\"#FFFFFF\"\n                android:textSize=\"20sp\"\n                android:text=\"加载中...\"/>\n        </LinearLayout>\n    </FrameLayout>\n\n</FrameLayout>\n"
  },
  {
    "path": "app/src/main/res/layout/bottom_sheet.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<com.yiyuanliu.flipgank.view.GankBottom\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:orientation=\"vertical\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    xmlns:tools=\"http://schemas.android.com/tools\">\n\n    <TextView\n        android:id=\"@+id/title\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"52dp\"\n        android:gravity=\"center_vertical\"\n        android:lines=\"1\"\n        android:textSize=\"17sp\"\n        android:textStyle=\"bold\"\n        android:paddingLeft=\"16dp\"\n        android:paddingRight=\"16dp\"\n        android:textColor=\"@color/textColorPrimary\"\n        android:background=\"?selectableItemBackground\"\n        android:clickable=\"true\"\n        tools:text=\"This is title\"/>\n\n    <include\n        layout=\"@layout/layout_divider_hor\"/>\n\n    <TextView\n        android:id=\"@+id/type\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"52dp\"\n        android:lines=\"1\"\n        android:padding=\"16dp\"\n        android:gravity=\"center_vertical\"\n        android:textSize=\"16sp\"\n        android:clickable=\"true\"\n        android:textColor=\"@color/textColorPrimary\"\n        android:background=\"?selectableItemBackground\"/>\n\n    <TextView\n        android:id=\"@+id/url\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"52dp\"\n        android:lines=\"1\"\n        android:gravity=\"center_vertical\"\n        android:padding=\"16dp\"\n        android:textSize=\"16sp\"\n        android:clickable=\"true\"\n        android:textColor=\"@color/textColorPrimary\"\n        android:background=\"?selectableItemBackground\"/>\n\n    <TextView\n        android:id=\"@+id/who\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"52dp\"\n        android:lines=\"1\"\n        android:gravity=\"center_vertical\"\n        android:padding=\"16dp\"\n        android:textSize=\"16sp\"\n        android:clickable=\"true\"\n        android:textColor=\"@color/textColorPrimary\"\n        android:background=\"?selectableItemBackground\"/>\n\n    <TextView\n        android:id=\"@+id/time\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"52dp\"\n        android:lines=\"1\"\n        android:gravity=\"center_vertical\"\n        android:padding=\"16dp\"\n        android:textSize=\"16sp\"\n        android:clickable=\"true\"\n        android:textColor=\"@color/textColorPrimary\"\n        android:background=\"?selectableItemBackground\"/>\n\n</com.yiyuanliu.flipgank.view.GankBottom>"
  },
  {
    "path": "app/src/main/res/layout/fragment_about.xml",
    "content": "<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:orientation=\"vertical\"\n    android:gravity=\"center_horizontal\"\n    android:padding=\"12dp\"\n    tools:layout_marginTop=\"56dp\"\n    tools:context=\"com.yiyuanliu.flipgank.fragment.AboutFragment\">\n\n    <TextView\n        android:layout_width=\"64dp\"\n        android:layout_height=\"64dp\"\n        android:text=\"Y\"\n        android:textSize=\"48dp\"\n        android:layout_margin=\"24dp\"\n        android:layout_gravity=\"center_horizontal\"\n        android:gravity=\"center\"\n        android:textColor=\"@color/textColorWhite\"\n        android:background=\"@drawable/bg_circle\"/>\n\n    <LinearLayout\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\">\n        <TextView\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:textSize=\"16dp\"\n            android:textStyle=\"bold\"\n            android:textColor=\"@color/textColorSecondary\"\n            android:text=\"by\"/>\n        <TextView\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginLeft=\"6dp\"\n            android:textSize=\"18dp\"\n            android:textStyle=\"bold\"\n            android:textColor=\"@color/textColorPrimary\"\n            android:text=\"Yiyuan Liu\"/>\n    </LinearLayout>\n\n    <FrameLayout\n        android:layout_marginTop=\"24dp\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"120dp\">\n\n    <ImageView\n        android:id=\"@+id/image_github\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:scaleType=\"centerCrop\"/>\n\n    <View\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"60dp\"\n        android:background=\"@drawable/shadow_top\"/>\n\n    <View\n        android:id=\"@+id/click_github\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:clickable=\"true\"\n        android:background=\"?selectableItemBackground\"/>\n\n    <TextView\n        android:text=\"Star on Github\"\n        android:layout_marginLeft=\"8dp\"\n        android:layout_marginTop=\"4dp\"\n        android:textSize=\"20dp\"\n        android:textColor=\"@color/textColorWhite\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\" />\n\n    </FrameLayout>\n\n    <FrameLayout\n        android:layout_marginTop=\"12dp\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"120dp\">\n        <ImageView\n            android:id=\"@+id/image_write\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            android:scaleType=\"centerCrop\"/>\n\n        <View\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"60dp\"\n            android:background=\"@drawable/shadow_top\"/>\n\n        <View\n            android:id=\"@+id/click_email\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            android:clickable=\"true\"\n            android:background=\"?selectableItemBackground\"/>\n\n        <TextView\n            android:text=\"Email me\"\n            android:layout_marginLeft=\"8dp\"\n            android:layout_marginTop=\"4dp\"\n            android:textSize=\"20dp\"\n            android:textColor=\"@color/textColorWhite\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\" />\n\n    </FrameLayout>\n\n</LinearLayout>\n"
  },
  {
    "path": "app/src/main/res/layout/fragment_category.xml",
    "content": "<FrameLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    tools:context=\"com.yiyuanliu.flipgank.fragment.CategoryFragment\">\n\n    <android.support.v7.widget.RecyclerView\n        android:id=\"@+id/recycler_view\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"/>\n\n</FrameLayout>\n"
  },
  {
    "path": "app/src/main/res/layout/fragment_gank.xml",
    "content": "<FrameLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:background=\"#000000\"\n    tools:context=\"com.yiyuanliu.flipgank.fragment.GankFragment\">\n\n    <ImageView\n        android:id=\"@+id/refresh_icon\"\n        android:layout_width=\"24dp\"\n        android:layout_height=\"24dp\"\n        android:src=\"@drawable/ic_refresh\"\n        android:layout_margin=\"12dp\"/>\n\n    <TextView\n        android:id=\"@+id/refresh_hint\"\n        android:layout_marginTop=\"12dp\"\n        android:layout_marginLeft=\"48dp\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:textSize=\"20sp\"\n        android:textColor=\"#FFFFFF\"\n        tools:text=\"松开更新\"/>\n\n    <android.support.v7.widget.RecyclerView\n        android:id=\"@+id/recycler_view\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"/>\n\n</FrameLayout>\n"
  },
  {
    "path": "app/src/main/res/layout/item_category.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<FrameLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"160dp\"\n    tools:background=\"@color/colorAccent\"\n    xmlns:tools=\"http://schemas.android.com/tools\">\n\n    <ImageView\n        android:id=\"@+id/image\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:scaleType=\"centerCrop\"/>\n\n    <View\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"80dp\"\n        android:background=\"@drawable/shadow_top\"/>\n\n    <View\n        android:id=\"@+id/click\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:background=\"?selectableItemBackground\"/>\n\n    <TextView\n        android:id=\"@+id/category\"\n        android:layout_gravity=\"top|left\"\n        android:layout_margin=\"8dp\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:textSize=\"18dp\"\n        android:textColor=\"@color/textColorWhite\"\n        tools:text=\"Android\"/>\n\n</FrameLayout>"
  },
  {
    "path": "app/src/main/res/layout/item_head.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<com.yiyuanliu.flipgank.view.HeadItem xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    xmlns:tools=\"http://schemas.android.com/tools\">\n\n    <ImageView\n        android:id=\"@+id/image\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:scaleType=\"centerCrop\"\n        tools:src=\"#f0f0f0\"/>\n\n    <View\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"60dp\"\n        android:layout_gravity=\"top\"\n        android:background=\"@drawable/shadow_top\"/>\n\n    <View\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"60dp\"\n        android:layout_gravity=\"bottom\"\n        android:background=\"@drawable/shadow_bottom\"/>\n\n</com.yiyuanliu.flipgank.view.HeadItem>"
  },
  {
    "path": "app/src/main/res/layout/item_normal.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<com.yiyuanliu.flipgank.view.NormalItem xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"160dp\"\n    android:paddingTop=\"8dp\"\n    android:paddingLeft=\"8dp\"\n    android:paddingRight=\"8dp\"\n    android:paddingBottom=\"4dp\"\n    android:clickable=\"true\"\n    android:background=\"?selectableItemBackground\"\n    xmlns:tools=\"http://schemas.android.com/tools\">\n\n    <LinearLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:orientation=\"horizontal\"\n        android:layout_marginBottom=\"36dp\">\n        <TextView\n            android:id=\"@+id/title\"\n            android:layout_width=\"0dp\"\n            android:layout_height=\"match_parent\"\n            android:layout_weight=\"1\"\n            android:textSize=\"18dp\"\n            android:lines=\"3\"\n            android:textColor=\"@color/textColorPrimary\"\n            android:ellipsize=\"end\"\n            android:lineSpacingMultiplier=\"1.2\"\n            tools:text=\"@string/test_long_title\"/>\n\n        <ImageView\n            android:id=\"@+id/image\"\n            android:layout_width=\"100dp\"\n            android:layout_marginLeft=\"8dp\"\n            android:layout_marginRight=\"-36dp\"\n            android:layout_height=\"match_parent\"\n            android:scaleType=\"centerCrop\"\n            tools:src=\"#F0F0F0\"/>\n\n        <ImageButton\n            android:id=\"@+id/show_bottom\"\n            android:layout_width=\"36dp\"\n            android:layout_height=\"36dp\"\n            android:layout_gravity=\"right\"\n            android:background=\"?selectableItemBackgroundBorderless\"\n            android:src=\"@drawable/ic_expand\"\n            android:tint=\"@color/dividerColor\"/>\n\n    </LinearLayout>\n\n    <TextView\n        android:id=\"@+id/type\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"36dp\"\n        android:layout_gravity=\"bottom\"\n        android:gravity=\"center_vertical\"\n        android:textSize=\"14dp\"\n        android:textColor=\"@color/textColorSecondary\"\n        tools:text=\"Android\"/>\n\n    <ImageButton\n        android:id=\"@+id/like\"\n        android:layout_width=\"36dp\"\n        android:layout_height=\"36dp\"\n        android:layout_gravity=\"right|bottom\"\n        android:background=\"?selectableItemBackgroundBorderless\"\n        android:src=\"@drawable/bt_like\"\n        android:clickable=\"true\"/>\n\n</com.yiyuanliu.flipgank.view.NormalItem>"
  },
  {
    "path": "app/src/main/res/layout/item_tab.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<FrameLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:padding=\"8dp\">\n\n    <ImageView\n        android:layout_gravity=\"center\"\n        android:id=\"@android:id/icon\"\n        android:layout_width=\"28dp\"\n        android:layout_height=\"28dp\" />\n\n</FrameLayout>"
  },
  {
    "path": "app/src/main/res/layout/item_text.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<com.yiyuanliu.flipgank.view.NormalItem\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:padding=\"8dp\"\n    android:background=\"?selectableItemBackground\"\n    xmlns:tools=\"http://schemas.android.com/tools\">\n\n    <TextView\n        android:id=\"@+id/title\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:layout_marginBottom=\"48dp\"\n        android:layout_marginRight=\"36dp\"\n        android:layout_weight=\"1\"\n        android:textSize=\"18dp\"\n        android:lines=\"2\"\n        android:textColor=\"@color/textColorPrimary\"\n        android:ellipsize=\"end\"\n        android:lineSpacingMultiplier=\"1.2\"\n        tools:text=\"@string/test_long_title\"/>\n\n    <ImageButton\n        android:id=\"@+id/show_bottom\"\n        android:layout_width=\"36dp\"\n        android:layout_height=\"36dp\"\n        android:layout_gravity=\"right\"\n        android:background=\"?selectableItemBackgroundBorderless\"\n        android:src=\"@drawable/ic_expand\"\n        android:tint=\"@color/dividerColor\"/>\n\n    <TextView\n        android:id=\"@+id/type\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"36dp\"\n        android:layout_weight=\"1\"\n        android:gravity=\"center_vertical\"\n        android:layout_gravity=\"left|bottom\"\n        android:textSize=\"14dp\"\n        android:textColor=\"@color/textColorSecondary\"\n        tools:text=\"Android\"/>\n\n    <ImageButton\n        android:id=\"@+id/like\"\n        android:layout_width=\"36dp\"\n        android:layout_height=\"36dp\"\n        android:layout_gravity=\"right|bottom\"\n        android:background=\"?selectableItemBackgroundBorderless\"\n        android:src=\"@drawable/bt_unlike\"\n        android:clickable=\"true\"/>\n\n\n</com.yiyuanliu.flipgank.view.NormalItem>"
  },
  {
    "path": "app/src/main/res/layout/layout_divider_hor.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<View xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"1px\"\n    android:background=\"@color/dividerColor\">\n\n</View>"
  },
  {
    "path": "app/src/main/res/layout/layout_divider_vertical.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<View xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"1px\"\n    android:layout_height=\"match_parent\"\n    android:background=\"@color/dividerColor\">\n</View>"
  },
  {
    "path": "app/src/main/res/layout/page_first.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<com.yiyuanliu.flipgank.view.flipview.FlipCard\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:background=\"@color/backgroundColor\"\n    xmlns:tools=\"http://schemas.android.com/tools\">\n\n    <LinearLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:orientation=\"vertical\"\n        android:weightSum=\"1\">\n        <include\n            android:id=\"@+id/item_head\"\n            layout=\"@layout/item_head\"\n            android:layout_height=\"0dp\"\n            android:layout_width=\"match_parent\"\n            android:layout_weight=\"1\"/>\n\n        <include\n            layout=\"@layout/layout_divider_hor\"/>\n\n        <include\n            android:id=\"@+id/item1\"\n            layout=\"@layout/item_text\"/>\n\n\n    </LinearLayout>\n\n</com.yiyuanliu.flipgank.view.flipview.FlipCard>"
  },
  {
    "path": "app/src/main/res/layout/page_loading.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<com.yiyuanliu.flipgank.view.flipview.FlipCard\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:background=\"#FFFFFF\">\n\n    <LinearLayout\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_gravity=\"center\">\n        <ProgressBar\n            android:id=\"@+id/loading\"\n            android:layout_width=\"24dp\"\n            android:layout_height=\"24dp\"\n            android:layout_gravity=\"center\"/>\n        <TextView\n            android:id=\"@+id/text\"\n            android:text=\"载入中...\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:textSize=\"24dp\"\n            android:textColor=\"@color/textColorPrimary\"\n            android:layout_gravity=\"center\"\n            android:layout_marginLeft=\"6dp\"/>\n    </LinearLayout>\n\n\n\n</com.yiyuanliu.flipgank.view.flipview.FlipCard>"
  },
  {
    "path": "app/src/main/res/layout/page_normal.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<com.yiyuanliu.flipgank.view.flipview.FlipCard\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:background=\"@color/backgroundColor\"\n    xmlns:tools=\"http://schemas.android.com/tools\">\n\n    <LinearLayout\n        android:orientation=\"vertical\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\">\n        <include\n            android:id=\"@+id/item1\"\n            layout=\"@layout/item_normal\"\n            android:layout_height=\"0dp\"\n            android:layout_width=\"match_parent\"\n            android:layout_weight=\"1\"/>\n\n        <include\n            layout=\"@layout/layout_divider_hor\"/>\n\n        <include\n            android:id=\"@+id/item2\"\n            layout=\"@layout/item_normal\"\n            android:layout_height=\"0dp\"\n            android:layout_width=\"match_parent\"\n            android:layout_weight=\"1\"/>\n\n        <include\n            layout=\"@layout/layout_divider_hor\"/>\n\n        <include\n            android:id=\"@+id/item3\"\n            layout=\"@layout/item_normal\"\n            android:layout_height=\"0dp\"\n            android:layout_width=\"match_parent\"\n            android:layout_weight=\"1\"/>\n\n        <include\n            layout=\"@layout/layout_divider_hor\"/>\n\n        <include\n            android:id=\"@+id/item4\"\n            layout=\"@layout/item_normal\"\n            android:layout_height=\"0dp\"\n            android:layout_width=\"match_parent\"\n            android:layout_weight=\"1\"/>\n    </LinearLayout>\n\n</com.yiyuanliu.flipgank.view.flipview.FlipCard>"
  },
  {
    "path": "app/src/main/res/values/colors.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <color name=\"colorPrimary\">#FF2727</color>\n    <color name=\"colorPrimaryDark\">#FF2727</color>\n    <color name=\"colorAccent\">#FF2727</color>\n\n    <color name=\"statusBarColor\">#000000</color>\n\n    <color name=\"textColorPrimary\">#00000A</color>\n    <color name=\"textColorSecondary\">#37373A</color>\n    <color name=\"textColorWhite\">#FFFFFF</color>\n\n    <color name=\"dividerColor\">#CCCCCC</color>\n    <color name=\"backgroundColor\">#FFFFFFFF</color>\n    <color name=\"colorTab\">#FFFFFF</color>\n</resources>\n"
  },
  {
    "path": "app/src/main/res/values/dimens.xml",
    "content": "<resources>\n    <!-- Default screen margins, per the Android Design guidelines. -->\n    <dimen name=\"activity_horizontal_margin\">16dp</dimen>\n    <dimen name=\"activity_vertical_margin\">16dp</dimen>\n</resources>\n"
  },
  {
    "path": "app/src/main/res/values/strings.xml",
    "content": "<resources>\n    <string name=\"app_name\">FlipGank</string>\n    <string name=\"test_long_title\">Kickstarter Android 源码开源啦！ 一个仿探探上传相片的widget，基于xmuSistone的demo, 提供gradle import，添加上传照片功能以及各种回调，api，方便使用</string>\n    <string name=\"test_normal_title\">DragVideo，一种在播放视频时，可以任意拖拽视频的方案</string>\n\n    <!-- TODO: Remove or change this placeholder text -->\n    <string name=\"hello_blank_fragment\">Hello blank fragment</string>\n</resources>\n"
  },
  {
    "path": "app/src/main/res/values/styles.xml",
    "content": "<resources>\n\n    <!-- Base application theme. -->\n    <style name=\"AppTheme\" parent=\"Theme.AppCompat.Light.DarkActionBar\">\n        <!-- Customize your theme here. -->\n        <item name=\"colorPrimary\">@color/colorPrimary</item>\n        <item name=\"colorPrimaryDark\">@color/colorPrimaryDark</item>\n        <item name=\"colorAccent\">@color/colorAccent</item>\n\n        <item name=\"windowActionBar\">false</item>\n        <item name=\"windowNoTitle\">true</item>\n\n        <item name=\"android:windowAnimationStyle\">@style/animation</item>\n    </style>\n\n\n    <style name=\"ArticleItemLayout\">\n        <item name=\"android:background\">?selectableItemBackground</item>\n        <item name=\"android:paddingLeft\">16dp</item>\n        <item name=\"android:paddingRight\">16dp</item>\n        <item name=\"android:paddingTop\">16dp</item>\n        <item name=\"android:paddingBottom\">16dp</item>\n        <item name=\"android:clickable\">true</item>\n    </style>\n\n    <style name=\"ArticleItemTitle\">\n        <item name=\"android:textColor\">@color/textColorPrimary</item>\n        <item name=\"android:textSize\">18sp</item>\n    </style>\n\n    <style name=\"ArticleItemType\">\n        <item name=\"android:textSize\">14sp</item>\n        <item name=\"android:textColor\">@color/textColorSecondary</item>\n    </style>\n\n    <style name=\"AppTheme.Black\">\n        <item name=\"colorPrimary\">@color/colorBlack</item>\n        <item name=\"colorPrimaryDark\">@color/colorBlack</item>\n        <item name=\"colorAccent\">@color/colorWhite</item>\n    </style>\n\n    <style name=\"AppTheme.White\">\n        <item name=\"colorPrimary\">@color/colorWhite</item>\n        <item name=\"colorPrimaryDark\">@color/colorWhite</item>\n        <item name=\"colorAccent\">@color/colorBlack</item>\n    </style>\n\n    <style name=\"animation\" parent=\"@android:style/Animation.Activity\">\n        <item name=\"android:activityOpenEnterAnimation\">@anim/left_in</item>\n        <item name=\"android:activityOpenExitAnimation\">@anim/anim_scale_out</item>\n        <item name=\"android:activityCloseEnterAnimation\">@anim/anim_scale_in</item>\n        <item name=\"android:activityCloseExitAnimation\">@anim/left_out</item>\n    </style>\n\n    <color name=\"colorWhite\">#FFFFFF</color>\n    <color name=\"colorBlack\">#101010</color>\n</resources>\n"
  },
  {
    "path": "app/src/main/res/values-v21/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <style name=\"AppTheme\" parent=\"Theme.AppCompat.Light.DarkActionBar\">\n        <!-- Customize your theme here. -->\n        <item name=\"colorPrimary\">@color/colorPrimary</item>\n        <item name=\"colorPrimaryDark\">@color/colorPrimaryDark</item>\n        <item name=\"colorAccent\">@color/colorAccent</item>\n        <item name=\"android:statusBarColor\">@color/statusBarColor</item>\n\n        <item name=\"windowActionBar\">false</item>\n        <item name=\"windowNoTitle\">true</item>\n\n        <item name=\"android:windowAnimationStyle\">@style/animation</item>\n    </style>\n</resources>"
  },
  {
    "path": "app/src/main/res/values-w820dp/dimens.xml",
    "content": "<resources>\n    <!-- Example customization of dimensions originally defined in res/values/dimens.xml\n         (such as screen margins) for screens with more than 820dp of available width. This\n         would include 7\" and 10\" devices in landscape (~960dp and ~1280dp respectively). -->\n    <dimen name=\"activity_horizontal_margin\">64dp</dimen>\n</resources>\n"
  },
  {
    "path": "app/src/test/java/com/yiyuanliu/flipgank/ExampleUnitTest.java",
    "content": "package com.yiyuanliu.flipgank;\n\nimport org.junit.Test;\n\nimport static org.junit.Assert.*;\n\n/**\n * Example local unit test, which will execute on the development machine (host).\n *\n * @see <a href=\"http://d.android.com/tools/testing\">Testing documentation</a>\n */\npublic class ExampleUnitTest {\n    @Test\n    public void addition_isCorrect() throws Exception {\n        assertEquals(4, 2 + 2);\n    }\n}"
  },
  {
    "path": "build.gradle",
    "content": "// Top-level build file where you can add configuration options common to all sub-projects/modules.\n\nbuildscript {\n    repositories {\n        jcenter()\n    }\n    dependencies {\n        classpath 'com.android.tools.build:gradle:2.2.3'\n\n        // NOTE: Do not place your application dependencies here; they belong\n        // in the individual module build.gradle files\n    }\n}\n\nallprojects {\n    repositories {\n        jcenter()\n    }\n}\n\ntask clean(type: Delete) {\n    delete rootProject.buildDir\n}\n"
  },
  {
    "path": "gradle/wrapper/gradle-wrapper.properties",
    "content": "#Mon Dec 28 10:00:20 PST 2015\ndistributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\nzipStoreBase=GRADLE_USER_HOME\nzipStorePath=wrapper/dists\ndistributionUrl=https\\://services.gradle.org/distributions/gradle-2.14.1-all.zip\n"
  },
  {
    "path": "gradle.properties",
    "content": "## Project-wide Gradle settings.\n#\n# For more details on how to configure your build environment visit\n# http://www.gradle.org/docs/current/userguide/build_environment.html\n#\n# Specifies the JVM arguments used for the daemon process.\n# The setting is particularly useful for tweaking memory settings.\n# Default value: -Xmx1024m -XX:MaxPermSize=256m\n# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8\n#\n# When configured, Gradle will run in incubating parallel mode.\n# This option should only be used with decoupled projects. More details, visit\n# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects\n# org.gradle.parallel=true\n#Wed Dec 28 20:37:53 CST 2016\norg.gradle.jvmargs=-Xmx1536m\n"
  },
  {
    "path": "gradlew",
    "content": "#!/usr/bin/env bash\n\n##############################################################################\n##\n##  Gradle start up script for UN*X\n##\n##############################################################################\n\n# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.\nDEFAULT_JVM_OPTS=\"\"\n\nAPP_NAME=\"Gradle\"\nAPP_BASE_NAME=`basename \"$0\"`\n\n# Use the maximum available, or set MAX_FD != -1 to use that value.\nMAX_FD=\"maximum\"\n\nwarn ( ) {\n    echo \"$*\"\n}\n\ndie ( ) {\n    echo\n    echo \"$*\"\n    echo\n    exit 1\n}\n\n# OS specific support (must be 'true' or 'false').\ncygwin=false\nmsys=false\ndarwin=false\ncase \"`uname`\" in\n  CYGWIN* )\n    cygwin=true\n    ;;\n  Darwin* )\n    darwin=true\n    ;;\n  MINGW* )\n    msys=true\n    ;;\nesac\n\n# Attempt to set APP_HOME\n# Resolve links: $0 may be a link\nPRG=\"$0\"\n# Need this for relative symlinks.\nwhile [ -h \"$PRG\" ] ; do\n    ls=`ls -ld \"$PRG\"`\n    link=`expr \"$ls\" : '.*-> \\(.*\\)$'`\n    if expr \"$link\" : '/.*' > /dev/null; then\n        PRG=\"$link\"\n    else\n        PRG=`dirname \"$PRG\"`\"/$link\"\n    fi\ndone\nSAVED=\"`pwd`\"\ncd \"`dirname \\\"$PRG\\\"`/\" >/dev/null\nAPP_HOME=\"`pwd -P`\"\ncd \"$SAVED\" >/dev/null\n\nCLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar\n\n# Determine the Java command to use to start the JVM.\nif [ -n \"$JAVA_HOME\" ] ; then\n    if [ -x \"$JAVA_HOME/jre/sh/java\" ] ; then\n        # IBM's JDK on AIX uses strange locations for the executables\n        JAVACMD=\"$JAVA_HOME/jre/sh/java\"\n    else\n        JAVACMD=\"$JAVA_HOME/bin/java\"\n    fi\n    if [ ! -x \"$JAVACMD\" ] ; then\n        die \"ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME\n\nPlease set the JAVA_HOME variable in your environment to match the\nlocation of your Java installation.\"\n    fi\nelse\n    JAVACMD=\"java\"\n    which java >/dev/null 2>&1 || die \"ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\n\nPlease set the JAVA_HOME variable in your environment to match the\nlocation of your Java installation.\"\nfi\n\n# Increase the maximum file descriptors if we can.\nif [ \"$cygwin\" = \"false\" -a \"$darwin\" = \"false\" ] ; then\n    MAX_FD_LIMIT=`ulimit -H -n`\n    if [ $? -eq 0 ] ; then\n        if [ \"$MAX_FD\" = \"maximum\" -o \"$MAX_FD\" = \"max\" ] ; then\n            MAX_FD=\"$MAX_FD_LIMIT\"\n        fi\n        ulimit -n $MAX_FD\n        if [ $? -ne 0 ] ; then\n            warn \"Could not set maximum file descriptor limit: $MAX_FD\"\n        fi\n    else\n        warn \"Could not query maximum file descriptor limit: $MAX_FD_LIMIT\"\n    fi\nfi\n\n# For Darwin, add options to specify how the application appears in the dock\nif $darwin; then\n    GRADLE_OPTS=\"$GRADLE_OPTS \\\"-Xdock:name=$APP_NAME\\\" \\\"-Xdock:icon=$APP_HOME/media/gradle.icns\\\"\"\nfi\n\n# For Cygwin, switch paths to Windows format before running java\nif $cygwin ; then\n    APP_HOME=`cygpath --path --mixed \"$APP_HOME\"`\n    CLASSPATH=`cygpath --path --mixed \"$CLASSPATH\"`\n    JAVACMD=`cygpath --unix \"$JAVACMD\"`\n\n    # We build the pattern for arguments to be converted via cygpath\n    ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`\n    SEP=\"\"\n    for dir in $ROOTDIRSRAW ; do\n        ROOTDIRS=\"$ROOTDIRS$SEP$dir\"\n        SEP=\"|\"\n    done\n    OURCYGPATTERN=\"(^($ROOTDIRS))\"\n    # Add a user-defined pattern to the cygpath arguments\n    if [ \"$GRADLE_CYGPATTERN\" != \"\" ] ; then\n        OURCYGPATTERN=\"$OURCYGPATTERN|($GRADLE_CYGPATTERN)\"\n    fi\n    # Now convert the arguments - kludge to limit ourselves to /bin/sh\n    i=0\n    for arg in \"$@\" ; do\n        CHECK=`echo \"$arg\"|egrep -c \"$OURCYGPATTERN\" -`\n        CHECK2=`echo \"$arg\"|egrep -c \"^-\"`                                 ### Determine if an option\n\n        if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition\n            eval `echo args$i`=`cygpath --path --ignore --mixed \"$arg\"`\n        else\n            eval `echo args$i`=\"\\\"$arg\\\"\"\n        fi\n        i=$((i+1))\n    done\n    case $i in\n        (0) set -- ;;\n        (1) set -- \"$args0\" ;;\n        (2) set -- \"$args0\" \"$args1\" ;;\n        (3) set -- \"$args0\" \"$args1\" \"$args2\" ;;\n        (4) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" ;;\n        (5) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" ;;\n        (6) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" ;;\n        (7) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" ;;\n        (8) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" \"$args7\" ;;\n        (9) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" \"$args7\" \"$args8\" ;;\n    esac\nfi\n\n# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules\nfunction splitJvmOpts() {\n    JVM_OPTS=(\"$@\")\n}\neval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS\nJVM_OPTS[${#JVM_OPTS[*]}]=\"-Dorg.gradle.appname=$APP_BASE_NAME\"\n\nexec \"$JAVACMD\" \"${JVM_OPTS[@]}\" -classpath \"$CLASSPATH\" org.gradle.wrapper.GradleWrapperMain \"$@\"\n"
  },
  {
    "path": "gradlew.bat",
    "content": "@if \"%DEBUG%\" == \"\" @echo off\n@rem ##########################################################################\n@rem\n@rem  Gradle startup script for Windows\n@rem\n@rem ##########################################################################\n\n@rem Set local scope for the variables with windows NT shell\nif \"%OS%\"==\"Windows_NT\" setlocal\n\n@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.\nset DEFAULT_JVM_OPTS=\n\nset DIRNAME=%~dp0\nif \"%DIRNAME%\" == \"\" set DIRNAME=.\nset APP_BASE_NAME=%~n0\nset APP_HOME=%DIRNAME%\n\n@rem Find java.exe\nif defined JAVA_HOME goto findJavaFromJavaHome\n\nset JAVA_EXE=java.exe\n%JAVA_EXE% -version >NUL 2>&1\nif \"%ERRORLEVEL%\" == \"0\" goto init\n\necho.\necho ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\necho.\necho Please set the JAVA_HOME variable in your environment to match the\necho location of your Java installation.\n\ngoto fail\n\n:findJavaFromJavaHome\nset JAVA_HOME=%JAVA_HOME:\"=%\nset JAVA_EXE=%JAVA_HOME%/bin/java.exe\n\nif exist \"%JAVA_EXE%\" goto init\n\necho.\necho ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%\necho.\necho Please set the JAVA_HOME variable in your environment to match the\necho location of your Java installation.\n\ngoto fail\n\n:init\n@rem Get command-line arguments, handling Windowz variants\n\nif not \"%OS%\" == \"Windows_NT\" goto win9xME_args\nif \"%@eval[2+2]\" == \"4\" goto 4NT_args\n\n:win9xME_args\n@rem Slurp the command line arguments.\nset CMD_LINE_ARGS=\nset _SKIP=2\n\n:win9xME_args_slurp\nif \"x%~1\" == \"x\" goto execute\n\nset CMD_LINE_ARGS=%*\ngoto execute\n\n:4NT_args\n@rem Get arguments from the 4NT Shell from JP Software\nset CMD_LINE_ARGS=%$\n\n:execute\n@rem Setup the command line\n\nset CLASSPATH=%APP_HOME%\\gradle\\wrapper\\gradle-wrapper.jar\n\n@rem Execute Gradle\n\"%JAVA_EXE%\" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% \"-Dorg.gradle.appname=%APP_BASE_NAME%\" -classpath \"%CLASSPATH%\" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%\n\n:end\n@rem End local scope for the variables with windows NT shell\nif \"%ERRORLEVEL%\"==\"0\" goto mainEnd\n\n:fail\nrem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of\nrem the _cmd.exe /c_ return code!\nif  not \"\" == \"%GRADLE_EXIT_CONSOLE%\" exit 1\nexit /b 1\n\n:mainEnd\nif \"%OS%\"==\"Windows_NT\" endlocal\n\n:omega\n"
  },
  {
    "path": "settings.gradle",
    "content": "include ':app'\n"
  }
]