diff --git a/.buildscript/deploy_snapshot.sh b/.buildscript/deploy_snapshot.sh deleted file mode 100755 index dbfd7c408f0256cb81921784866edd83f92452c2..0000000000000000000000000000000000000000 --- a/.buildscript/deploy_snapshot.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -# -# Deploy a jar, source jar, and javadoc jar to Sonatype's snapshot repo. -# -# Adapted from https://coderwall.com/p/9b_lfq and -# http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/ - -SLUG="nntuyen/mkloader" -JDK="oraclejdk8" -BRANCH="master" - -set -e - -if [ "$TRAVIS_REPO_SLUG" != "$SLUG" ]; then - echo "Skipping snapshot deployment: wrong repository. Expected '$SLUG' but was '$TRAVIS_REPO_SLUG'." -elif [ "$TRAVIS_JDK_VERSION" != "$JDK" ]; then - echo "Skipping snapshot deployment: wrong JDK. Expected '$JDK' but was '$TRAVIS_JDK_VERSION'." -elif [ "$TRAVIS_PULL_REQUEST" != "false" ]; then - echo "Skipping snapshot deployment: was pull request." -elif [ "$TRAVIS_BRANCH" != "$BRANCH" ]; then - echo "Skipping snapshot deployment: wrong branch. Expected '$BRANCH' but was '$TRAVIS_BRANCH'." -else - echo "Deploying snapshot..." - ./gradlew clean uploadArchives - echo "Snapshot deployed!" -fi \ No newline at end of file diff --git a/.gitignore b/.gitignore index dd492e8c06583a25148c30bceede189fc66d614b..603b14077394cd2294ac6922fe619669630ef3ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,46 +1,14 @@ -# Built application files -*.apk -*.ap_ - -# Files for the ART/Dalvik VM -*.dex - -# Java class files -*.class - -# Generated files -bin/ -gen/ -out/ - -# Gradle files -.gradle/ -build/ - -# Local configuration file (sdk path, etc) -local.properties - -# Proguard folder generated by Eclipse -proguard/ - -# Log Files -*.log - -# Android Studio Navigation editor temp files -.navigation/ - -# Android Studio captures folder -captures/ - -# Intellij *.iml -.idea -#.idea/workspace.xml -#.idea/tasks.xml -#.idea/libraries - -# Keystore files -*.jks - -# External native build folder generated in Android Studio 2.2 and later +.gradle +/local.properties +/.idea/caches +/.idea/libraries +/.idea/modules.xml +/.idea/workspace.xml +/.idea/navEditor.xml +/.idea/assetWizardSettings.xml +.DS_Store +/build +/captures .externalNativeBuild +.cxx diff --git a/.idea/$PROJECT_FILE$ b/.idea/$PROJECT_FILE$ new file mode 100644 index 0000000000000000000000000000000000000000..58b7e3e570f8289344d345f6e3634608e74c690d --- /dev/null +++ b/.idea/$PROJECT_FILE$ @@ -0,0 +1,11 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..26d33521af10bcc7fd8cea344038eaaeb78d0ef5 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/checkstyle-idea.xml b/.idea/checkstyle-idea.xml new file mode 100644 index 0000000000000000000000000000000000000000..6eefe0e18e7f9b22e04bd7ae191213bd65c48515 --- /dev/null +++ b/.idea/checkstyle-idea.xml @@ -0,0 +1,16 @@ + + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000000000000000000000000000000000000..61a9130cd9669c3843e6445dfe1fee2d493869bc --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 0000000000000000000000000000000000000000..10f0aec39e9580270750a89d54e93b5fd63a4275 --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000000000000000000000000000000000000..ba2e7443424bc5abb3b2c16dd9751cfceb69faed --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000000000000000000000000000000000000..8a14290d011eafeb38e9abc5abac47df163a6d4f --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,13 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/qaplug_profiles.xml b/.idea/qaplug_profiles.xml new file mode 100644 index 0000000000000000000000000000000000000000..3dfd21f3217524e575f32113c93bdd238a03c1bc --- /dev/null +++ b/.idea/qaplug_profiles.xml @@ -0,0 +1,465 @@ + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000000000000000000000000000000000000..35eb1ddfbbc029bcab630581847471d7f238ec53 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9926c507841f6b5617694cfcb459642c08fdda46..0000000000000000000000000000000000000000 --- a/.travis.yml +++ /dev/null @@ -1,28 +0,0 @@ -language: android -android: - components: - - tools - - tools - - platform-tools - - build-tools-25.0.2 - - android-25 - - extra-android-m2repository -jdk: -- oraclejdk8 -script: -- ./gradlew ":library:build" -after_success: -- ".buildscript/deploy_snapshot.sh" -env: - global: - - secure: ww5GU8u/jKKu4DXL1xFqbGAIbaN+f5TDjsyYMt+flvv1GYibDGPpINqBsYNTG9pdkhLvL+0cwp0uc9sxRvnYkFIIaGPrGUIgO2kBWW54cfluUd3SW9/x7aMa/9E0t3MC2UhNrAudrMsxNaX5DnHBLcRkQhkqNOYWxDoYsdFRiDKkmhW2eKTzxWwNIuFmiLqIsfRuM4TSY1bGkT8BzdlQc99QwNOgQ/ynYPXqmETlVRsjxkGPkQreVNRWN7YnPJgTrD72r9q4D6w/j5st0trYRRpm6W/yy4/xxGi2AInl9q/JEEk0Yr5Legla0J39p9uQ9iEhVvDn+wQPaeHFS4yLK8pfHJtQnW7UPGjigCENm0tbLJAvn5yhfvHRh6EZ3sofHBkcbGXPOv2Or/sqTuj+i15uisO0xYMr3gye7MeCJZMBfKZu41McR9XUHiBeoY6vDC4CSSFcx4o+ijG3OuVADnqhzg/STqZAWgKkoTkw1+eMq2xvxAqU5bAGQoog3WL+ixe9FxmMJ/1NMLSqOw6cElOuXjrEqwFccqTpiW+z5fb7B9Ag3XdfZdeKVEwkOcf7dj7hFaM5fzrbNZdvs11fRPfNr+2GDbYj74bhCXXKXqJSePBmxxySuNXk+ZUmHTgT73Taf7jgdBH26Mv//Yo4h/kSBFmbpb/KOESIp5q1MFo= - - secure: Lb0LlDYwjcC14PafHCNpqOlD8/0iXPrwbGPXwrb2VKikjL6KvySC0R6PBLLT9P+OcSQY5EEXvbrnj+6eJR9W5bJlGfrtEMvYSMUMH+8HOf5t6ZI4RMVWqnxrO+deY2yPdxHkhznHPw63E48QO9lB/8cxdNm5QgVKMqkq0lhd1UXhJZpW/DsmtV4sx1NOm7J1qv5fBq0NS4551z+HgVFGG2TKhN+i22EiwNAy76Fs+guWC9DsepGSxnacO2aYGLJSsgdn63VFgaCLpwksL4aujMyJcINuScUWSlQT8FvIk4mUc/HyrHoailmFJPA4w1iCAszOeEh1hJBzwraI39ezjVh/IXM7WVX7qAj1OYM9LSTSZjGVEdEyd6RJRQUrOjqx6iRbufu23EC6scXc+sRI7eVAxhgQzE8GSdJCYHn3aXujR6SnxQHAA7ZzIo2XVhoxQscu/3CcACvg7XnMwBnOuPv0y4Cp1YHUVB77meef/DayhfDBEu5sWU/MBafYe9LYLziVhMCDWovUrBtSBo+Vk+BdAKG7vOmpIcQOTUPsoKw0hHDUjROs432jaR1jkN7RZCGTMllfH23nZyvBlTuCfyheztw9crsGBzh8nRfp4wJlyXcbijeW6NKqftD/As4+3+zEkxON1ZlrVzaVdR5G/POZWG8LTIkm610srgTlLxY= -branches: - except: - - gh-pages -notifications: - email: false -sudo: false -cache: - directories: - - "$HOME/.gradle" diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e3889266cfb2ed0843e94d39853aa0e7f0b543f..484b74046997b205aa4561d6c237af1cb62a0ad7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,13 @@ -Change Log -========== +# 基本功能: +* 自定义绘制的加载动画库 -Version 1.3.0 *(2017-08-01)* ----------------------------- -* Fix: animation is not working in recycler view -Version 1.2.0 *(2017-03-10)* ----------------------------- - - * Fix: memory leak +# 修改点: +1. 无 -Version 1.0.0 *(2017-02-14)* ----------------------------- -Initial release. +# 遗留问题(暂不支持的功能): +1. 无 \ No newline at end of file diff --git a/LICENSE b/LICENSE index 8dada3edaf50dbc082c9a125058f25def75e625a..1655a5c4058e7f2a88d8966b6ef8ee2e8f964952 100644 --- a/LICENSE +++ b/LICENSE @@ -4,7 +4,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - 1. Definitions. + 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. diff --git a/README.md b/README.md index 81070ac9d6fbde2900c10ee74c751625b5b23729..87773eec9d1ab2a36eabbb921180d208a5f0965a 100644 --- a/README.md +++ b/README.md @@ -1,57 +1,98 @@ -# mkloader -[![Build Status](https://travis-ci.org/nntuyen/mkloader.svg?branch=master)](https://travis-ci.org/nntuyen/mkloader) +# mkloader -Beautiful and smooth custom loading views +**本项目基于开源项目mkloader 进行鸿蒙化的移植和开发,可以通过项目标签以及github地址( https://github.com/nntuyen/mkloader )追踪到原安卓项目版本** -![](screenshot/screenshot.gif) +#### 项目介绍 +- 项目名称:加载动画 +- 所属系列:鸿蒙的第三方组件适配移植 +- 功能:一个自定义加载的动画组件。 +- 项目移植状态:主功能完成 +- 调用差异:无 +- 开发版本:sdk5,DevEco Studio2.1.0.301 beta2 +- 项目作者和维护人:樊景辉 +- 联系方式:fanjinghui073@chinasoftinc.com +- 原项目Doc地址:https://github.com/nntuyen/mkloader -## Usage +#### 效果演示 + +#### 安装教程 + 1.在项目根目录下的build.gradle文件中, + allprojects { + repositories { + maven { + url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' + } + } + } + 2.在entry模块的build.gradle文件中, + + dependencies { + implementation('com.gitee.chinasoft_ohos:Zloading:0.0.1-SNAPSHOT') + ...... + } -```xml +在sdk5,DevEco Studio2.1.0.301 beta1下项目可直接运行 +如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, +并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 + +#### 使用说明 + +```java + ohos:height="match_content" + ohos:width="match_content" + app:mk_type="" (Optional. Default is ClassicSpinner) + app:mk_color="" (Optional. Default is #ffffff) + /> ``` -## Supported Types -- `Sharingan` -- `TwinFishesSpinner` -- `ClassicSpinner` -- `LineSpinner` -- `FishSpinner` -- `PhoneWave` -- `ThreePulse` -- `FourPulse` -- `FivePulse` -- `Worm` -- `Whirlpool` -- `Radar` - -## Download -Gradle - -```javascript -dependencies { - compile 'com.tuyenmonkey:mkloader:1.4.0' -} -``` -Snapshots of the development version are available in [Sonatype's `snapshots` repository](https://oss.sonatype.org/content/repositories/snapshots/). -## License - Copyright 2017 Tuyen Monkey +| 方法(mk_type) | 描述 (行,列) +|--------------------|----------| +| Sharingan | (1,1) | +| TwinFishesSpinner | (1,2) | +| ClassicSpinner | (1,3) | +| LineSpinner | (2,1) | +| FishSpinner | (2,2) | +| ClassicSpinner | (2,3) | +| Pulse(3) | (3,1) | +| Pulse(4) | (3,2) | +| Pulse(5) | (3,3) | +| Worm | (4,1) | +| Whirlpool | (4,2) | +| Radar | (4,3) | + +#### 测试信息 + +CodeCheck代码测试无异常 + +CloudTest代码测试无异常 + +火绒安全病毒安全检测通过 + +当前版本demo功能与安卓原组件基本无差异 + +测试员:常小俊 + +#### 版本迭代 + +0.0.1-SNAPSHOT + +#### 版权和许可信息 + +
+Copyright 2017 Tuyen Monkey
 
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
 
-       http://www.apache.org/licenses/LICENSE-2.0
+   http://www.apache.org/licenses/LICENSE-2.0
 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
diff --git a/_config.yml b/_config.yml deleted file mode 100644 index c4192631f25b34d77a7f159aa0da0e3ae99c4ef4..0000000000000000000000000000000000000000 --- a/_config.yml +++ /dev/null @@ -1 +0,0 @@ -theme: jekyll-theme-cayman \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle deleted file mode 100644 index 3a562cf1429c6aef443b8388d81f9d32f0535ca6..0000000000000000000000000000000000000000 --- a/app/build.gradle +++ /dev/null @@ -1,35 +0,0 @@ -apply plugin: 'com.android.application' - -android { - compileSdkVersion rootProject.ext.compileSdkVersion - buildToolsVersion rootProject.ext.buildToolsVersion - defaultConfig { - applicationId "com.tuyenmonkey.sample" - minSdkVersion rootProject.ext.minSdkVersion - targetSdkVersion rootProject.ext.targetSdkVersion - versionCode rootProject.ext.versionCode - versionName rootProject.ext.versionName - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } -} - -dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { - exclude group: 'com.android.support', module: 'support-annotations' - }) - compile "com.android.support:appcompat-v7:${supportLibVersion}" - compile "com.android.support:recyclerview-v7:${supportLibVersion}" - testCompile 'junit:junit:4.12' - compile project(':library') - - debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5' - releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5' - testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5' -} diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro deleted file mode 100644 index 8813ceee80f3d0523df01ebe636e70a08296a12f..0000000000000000000000000000000000000000 --- a/app/proguard-rules.pro +++ /dev/null @@ -1,17 +0,0 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in /Users/Tiki/Library/Android/sdk/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the proguardFiles -# directive in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/app/src/androidTest/java/com/tuyenmonkey/sample/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/tuyenmonkey/sample/ExampleInstrumentedTest.java deleted file mode 100644 index 46f18db2f93a1332483c8d1ce790e4aefc254bde..0000000000000000000000000000000000000000 --- a/app/src/androidTest/java/com/tuyenmonkey/sample/ExampleInstrumentedTest.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.tuyenmonkey.sample; - -import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumentation test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) public class ExampleInstrumentedTest { - @Test public void useAppContext() throws Exception { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - assertEquals("com.tuyenmonkey.sample", appContext.getPackageName()); - } -} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml deleted file mode 100644 index 73b8ddd95a1ebd9816d44168a3628c301987717a..0000000000000000000000000000000000000000 --- a/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/java/com/tuyenmonkey/sample/App.java b/app/src/main/java/com/tuyenmonkey/sample/App.java deleted file mode 100644 index 558c9d1e6e7a76025c6bd2de857b9af92c72d27d..0000000000000000000000000000000000000000 --- a/app/src/main/java/com/tuyenmonkey/sample/App.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.tuyenmonkey.sample; - -import android.app.Application; -import com.squareup.leakcanary.LeakCanary; - -/** - * Created by Tuyen Monkey on 3/10/17. - */ - -public class App extends Application { - - @Override public void onCreate() { - super.onCreate(); - - LeakCanary.install(this); - } -} diff --git a/app/src/main/java/com/tuyenmonkey/sample/ContactsAdapter.java b/app/src/main/java/com/tuyenmonkey/sample/ContactsAdapter.java deleted file mode 100644 index ed809a02267531108b83da9eb97b158bcfd0f287..0000000000000000000000000000000000000000 --- a/app/src/main/java/com/tuyenmonkey/sample/ContactsAdapter.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.tuyenmonkey.sample; - -import android.support.v7.widget.RecyclerView; -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; -import android.widget.TextView; -import java.util.ArrayList; -import java.util.List; -import java.util.Locale; - -/** - * Created by Tuyen Monkey on 8/1/17. - */ - -public class ContactsAdapter extends RecyclerView.Adapter { - private List contacts; - - public ContactsAdapter() { - contacts = new ArrayList<>(); - - for (int i = 0; i < 100; i++) { - contacts.add(String.format(Locale.US, "contact %d", i)); - } - } - - @Override public ContactViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { - final LayoutInflater inflater = LayoutInflater.from(parent.getContext()); - View itemView = inflater.inflate(R.layout.item_contact, parent, false); - return new ContactViewHolder(itemView); - } - - @Override public void onBindViewHolder(ContactViewHolder holder, int position) { - final String contact = contacts.get(position); - holder.bind(contact); - } - - @Override public int getItemCount() { - return contacts != null ? contacts.size() : 0; - } - - public static class ContactViewHolder extends RecyclerView.ViewHolder { - TextView tvName; - - public ContactViewHolder(View itemView) { - super(itemView); - tvName = (TextView)itemView.findViewById(R.id.tvName); - } - - public void bind(String contact) { - tvName.setText(contact); - } - } -} diff --git a/app/src/main/java/com/tuyenmonkey/sample/ListTestActivity.java b/app/src/main/java/com/tuyenmonkey/sample/ListTestActivity.java deleted file mode 100644 index da6e4e40301af1cbf9df57ae42cf579c8e811510..0000000000000000000000000000000000000000 --- a/app/src/main/java/com/tuyenmonkey/sample/ListTestActivity.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.tuyenmonkey.sample; - -import android.os.Bundle; -import android.support.annotation.Nullable; -import android.support.v7.app.AppCompatActivity; -import android.support.v7.widget.LinearLayoutManager; -import android.support.v7.widget.RecyclerView; - -/** - * Created by Tuyen Monkey on 8/1/17. - */ - -public class ListTestActivity extends AppCompatActivity { - RecyclerView rvContacts; - - private ContactsAdapter adapter; - - @Override protected void onCreate(@Nullable Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_list_test); - - rvContacts = (RecyclerView)findViewById(R.id.rvContacts); - - adapter = new ContactsAdapter(); - - rvContacts.setAdapter(adapter); - rvContacts.setLayoutManager(new LinearLayoutManager(this)); - } -} diff --git a/app/src/main/java/com/tuyenmonkey/sample/MainActivity.java b/app/src/main/java/com/tuyenmonkey/sample/MainActivity.java deleted file mode 100644 index 387b61ab8bdf21d9fdd6ee5cc4d6063e671b2c6a..0000000000000000000000000000000000000000 --- a/app/src/main/java/com/tuyenmonkey/sample/MainActivity.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.tuyenmonkey.sample; - -import android.os.Bundle; -import android.support.v7.app.AppCompatActivity; - -public class MainActivity extends AppCompatActivity { - - @Override protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_loader1); - } -} diff --git a/app/src/main/java/com/tuyenmonkey/sample/TestActivity.java b/app/src/main/java/com/tuyenmonkey/sample/TestActivity.java deleted file mode 100644 index f62ce136c8cbf8404d1fab38bc68e38196c99bf6..0000000000000000000000000000000000000000 --- a/app/src/main/java/com/tuyenmonkey/sample/TestActivity.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.tuyenmonkey.sample; - -import android.content.Context; -import android.content.Intent; -import android.os.Bundle; -import android.support.annotation.Nullable; -import android.support.v7.app.AppCompatActivity; - -/** - * Created by Tuyen Monkey on 3/10/17. - */ - -public class TestActivity extends AppCompatActivity { - - public static Intent getCallingIntent(Context context) { - return new Intent(context, TestActivity.class); - } - - @Override protected void onCreate(@Nullable Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_test); - } -} diff --git a/app/src/main/res/layout/activity_list_test.xml b/app/src/main/res/layout/activity_list_test.xml deleted file mode 100644 index b359db721416fadc4af1c76664f4fe37f4e32e0f..0000000000000000000000000000000000000000 --- a/app/src/main/res/layout/activity_list_test.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/activity_loader1.xml b/app/src/main/res/layout/activity_loader1.xml deleted file mode 100644 index 921d06b02e1d433123a5abdd66fd062a65410f31..0000000000000000000000000000000000000000 --- a/app/src/main/res/layout/activity_loader1.xml +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/main/res/layout/activity_loader2.xml b/app/src/main/res/layout/activity_loader2.xml deleted file mode 100644 index f67ef22c8dc2112fc58e31805b6d2db80d6fd3d6..0000000000000000000000000000000000000000 --- a/app/src/main/res/layout/activity_loader2.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - -