Skip to content

Commit

Permalink
Define New Package and Upload Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
janishar committed Feb 22, 2018
1 parent 5c7cd0a commit bf5e83b
Show file tree
Hide file tree
Showing 40 changed files with 215 additions and 207 deletions.
27 changes: 14 additions & 13 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.1"
compileSdkVersion 27
buildToolsVersion "27.0.2"

defaultConfig {
applicationId "com.mindorks.test"
applicationId "com.mindorks.demo"
minSdkVersion 16
targetSdkVersion 25
targetSdkVersion 27
versionCode 1
versionName "1.0"
}
Expand All @@ -26,14 +26,15 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:design:25.1.0'
compile 'com.android.support:cardview-v7:25.1.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.google.code.gson:gson:2.7'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:cardview-v7:27.0.2'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.mindorks:butterknifelite:0.0.4'
implementation project(":placeholderview")
implementation 'com.android.support:recyclerview-v7:27.0.2'

compile 'com.mindorks:butterknifelite:0.0.3'
compile project(":placeholderview")
testImplementation 'junit:junit:4.12'
}
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mindorks.test">
package="com.mindorks.demo">
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name="com.mindorks.test.MainActivity">
<activity android:name="com.mindorks.demo.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.os.Bundle;
import android.support.annotation.Nullable;
Expand All @@ -8,10 +8,10 @@
import com.mindorks.butterknifelite.ButterKnifeLite;
import com.mindorks.butterknifelite.annotations.BindView;
import com.mindorks.butterknifelite.annotations.OnClick;
import com.mindorks.demo.swipe.TinderDirectionalCard;
import com.mindorks.placeholderview.SwipeDecor;
import com.mindorks.placeholderview.SwipeDirectionalView;
import com.mindorks.placeholderview.listeners.ItemRemovedListener;
import com.mindorks.test.swipe.TinderDirectionalCard;

/**
* Created by janisharali on 09/08/17.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.animation.Animator;
import android.graphics.PointF;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.DisplayMetrics;
import android.view.Gravity;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.DecelerateInterpolator;
import android.widget.FrameLayout;

import com.mindorks.placeholderview.*;
import com.mindorks.test.swipe.SwipeCard;
import com.mindorks.demo.swipe.SwipeCard;
import com.mindorks.placeholderview.SwipeDecor;
import com.mindorks.placeholderview.SwipePlaceHolderView;

public class ActivitySwipeTest extends AppCompatActivity {

Expand All @@ -23,7 +16,7 @@ public class ActivitySwipeTest extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_swipe_test);
mSwipView = (SwipePlaceHolderView) findViewById(R.id.swipeView);
mSwipView = findViewById(R.id.swipeView);

}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.os.Bundle;
import android.support.annotation.Nullable;
Expand All @@ -8,10 +8,10 @@
import com.mindorks.butterknifelite.ButterKnifeLite;
import com.mindorks.butterknifelite.annotations.BindView;
import com.mindorks.butterknifelite.annotations.OnClick;
import com.mindorks.demo.swipe.TinderCard;
import com.mindorks.placeholderview.SwipeDecor;
import com.mindorks.placeholderview.SwipePlaceHolderView;
import com.mindorks.placeholderview.listeners.ItemRemovedListener;
import com.mindorks.test.swipe.TinderCard;

public class ActivityTinder extends AppCompatActivity {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.ScrollView;

import com.mindorks.butterknifelite.ButterKnifeLite;
import com.mindorks.butterknifelite.annotations.BindView;
import com.mindorks.butterknifelite.annotations.OnClick;
import com.mindorks.demo.swipe.TinderCard2;
import com.mindorks.placeholderview.SwipeDecor;
import com.mindorks.placeholderview.SwipePlaceHolderView;
import com.mindorks.test.swipe.TinderCard;
import com.mindorks.test.swipe.TinderCard2;

public class ActivityTinderSwipeInScroll extends AppCompatActivity implements TinderCard2.CardCallback{

Expand All @@ -23,8 +18,8 @@ public class ActivityTinderSwipeInScroll extends AppCompatActivity implements Ti
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_swipe_in_scroll);
mSwipView = (SwipePlaceHolderView) findViewById(R.id.swipeView);
scroll = (CustomScrollview) findViewById(R.id.scroll);
mSwipView = findViewById(R.id.swipeView);
scroll = findViewById(R.id.scroll);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.annotation.TargetApi;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.ViewConfiguration;
import android.widget.ScrollView;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.os.Bundle;
import android.os.Handler;
Expand All @@ -8,10 +8,10 @@

import com.mindorks.butterknifelite.ButterKnifeLite;
import com.mindorks.butterknifelite.annotations.BindView;
import com.mindorks.demo.infinite.InfiniteFeedInfo;
import com.mindorks.demo.infinite.ItemView;
import com.mindorks.demo.infinite.LoadMoreView;
import com.mindorks.placeholderview.InfinitePlaceHolderView;
import com.mindorks.test.infinite.InfiniteFeedInfo;
import com.mindorks.test.infinite.ItemView;
import com.mindorks.test.infinite.LoadMoreView;

import java.util.Comparator;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.content.res.Resources;
import android.os.Bundle;
Expand All @@ -8,9 +8,9 @@
import com.mindorks.butterknifelite.ButterKnifeLite;
import com.mindorks.butterknifelite.annotations.BindView;
import com.mindorks.butterknifelite.annotations.OnClick;
import com.mindorks.demo.expandable.ChildItem;
import com.mindorks.demo.expandable.ParentItem;
import com.mindorks.placeholderview.ExpandablePlaceHolderView;
import com.mindorks.test.expandable.ChildItem;
import com.mindorks.test.expandable.ParentItem;


public class ExpandableActivity extends AppCompatActivity {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.content.Context;
import android.os.Bundle;
Expand All @@ -8,15 +8,11 @@

import com.mindorks.butterknifelite.ButterKnifeLite;
import com.mindorks.butterknifelite.annotations.BindView;
import com.mindorks.demo.feed.HeadingView;
import com.mindorks.demo.feed.InfoView;
import com.mindorks.demo.feed.data.Feed;
import com.mindorks.demo.feed.data.Info;
import com.mindorks.placeholderview.ExpandablePlaceHolderView;
import com.mindorks.test.expandable.ChildItem;
import com.mindorks.test.expandable.ParentItem;
import com.mindorks.test.feed.HeadingView;
import com.mindorks.test.feed.InfoView;
import com.mindorks.test.feed.data.Feed;
import com.mindorks.test.feed.data.Info;

import java.util.List;


public class FeedTestActivity extends AppCompatActivity {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mindorks.test;
package com.mindorks.demo;

/**
* Created by janisharali on 21/08/16.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.mindorks.butterknifelite.ButterKnifeLite;
import com.mindorks.butterknifelite.annotations.BindView;
import com.mindorks.demo.gallery.ImageTypeBig;
import com.mindorks.demo.infinite.LoadMoreView;
import com.mindorks.placeholderview.InfinitePlaceHolderView;
import com.mindorks.placeholderview.PlaceHolderView;
import com.mindorks.test.drawer.DrawerHeader;
import com.mindorks.test.drawer.DrawerMenuItem;
import com.mindorks.test.gallery.ImageTypeBig;
import com.mindorks.test.gallery.ImageTypeSmallPlaceHolder;
import com.mindorks.test.infinite.LoadMoreView;

import java.util.ArrayList;

import java.util.List;


Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.animation.DecelerateInterpolator;

import com.mindorks.butterknifelite.ButterKnifeLite;
import com.mindorks.butterknifelite.annotations.BindView;
import com.mindorks.demo.drawer.DrawerHeader;
import com.mindorks.demo.drawer.DrawerMenuItem;
import com.mindorks.demo.gallery.ImageTypeBig;
import com.mindorks.demo.gallery.ImageTypeSmallPlaceHolder;
import com.mindorks.placeholderview.PlaceHolderView;
import com.mindorks.test.drawer.DrawerHeader;
import com.mindorks.test.drawer.DrawerMenuItem;
import com.mindorks.test.gallery.ImageTypeBig;
import com.mindorks.test.gallery.ImageTypeSmall;
import com.mindorks.test.gallery.ImageTypeSmallPlaceHolder;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
Expand All @@ -21,7 +21,7 @@ public class QuestionActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_questions);
mCardsContainer = (SwipePlaceHolderView) findViewById(R.id.cards_container);
mCardsContainer = findViewById(R.id.cards_container);

mCardsContainer.getBuilder()
// .setDisplayViewCount(1)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mindorks.test;
package com.mindorks.demo;

import android.content.Context;
import android.content.res.AssetManager;
Expand All @@ -12,8 +12,8 @@

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.mindorks.test.feed.data.Feed;
import com.mindorks.test.infinite.InfiniteFeedInfo;
import com.mindorks.demo.feed.data.Feed;
import com.mindorks.demo.infinite.InfiniteFeedInfo;

import org.json.JSONArray;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
package com.mindorks.test.drawer;
package com.mindorks.demo.drawer;

import android.widget.ImageView;
import android.widget.TextView;

import com.mindorks.placeholderview.PlaceHolderView;
import com.mindorks.placeholderview.annotations.Click;
import com.mindorks.demo.R;
import com.mindorks.placeholderview.annotations.Layout;
import com.mindorks.placeholderview.annotations.LongClick;
import com.mindorks.placeholderview.annotations.NonReusable;
import com.mindorks.placeholderview.annotations.Resolve;
import com.mindorks.placeholderview.annotations.View;
import com.mindorks.test.R;

/**
* Created by janisharali on 19/08/16.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
package com.mindorks.test.drawer;
package com.mindorks.demo.drawer;

import android.content.Context;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

import com.mindorks.placeholderview.Animation;
import com.mindorks.placeholderview.PlaceHolderView;
import com.mindorks.placeholderview.annotations.Animate;
import com.mindorks.demo.R;
import com.mindorks.placeholderview.annotations.Click;
import com.mindorks.placeholderview.annotations.Layout;
import com.mindorks.placeholderview.annotations.LongClick;
import com.mindorks.placeholderview.annotations.NonReusable;
import com.mindorks.placeholderview.annotations.Position;
import com.mindorks.placeholderview.annotations.Resolve;
import com.mindorks.placeholderview.annotations.View;
import com.mindorks.test.R;

/**
* Created by janisharali on 19/08/16.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
package com.mindorks.test.expandable;
package com.mindorks.demo.expandable;

import android.graphics.Color;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.mindorks.placeholderview.Animation;
import com.mindorks.demo.R;
import com.mindorks.placeholderview.ExpandablePlaceHolderView;
import com.mindorks.placeholderview.annotations.Animate;
import com.mindorks.placeholderview.annotations.Click;
import com.mindorks.placeholderview.annotations.Layout;
import com.mindorks.placeholderview.annotations.Resolve;
import com.mindorks.placeholderview.annotations.View;
import com.mindorks.placeholderview.annotations.expand.ChildPosition;
import com.mindorks.placeholderview.annotations.expand.Parent;
import com.mindorks.placeholderview.annotations.expand.ParentPosition;
import com.mindorks.test.R;

import java.sql.Array;
import java.util.ArrayList;
import java.util.List;

Expand Down
Loading

0 comments on commit bf5e83b

Please sign in to comment.