Skip to content

Commit

Permalink
packages renameing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Martinovic committed Jan 2, 2019
1 parent a4e0fac commit 077eeed
Show file tree
Hide file tree
Showing 98 changed files with 162 additions and 160 deletions.
Binary file modified .DS_Store
Binary file not shown.
30 changes: 15 additions & 15 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion library/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.johnnym.recyclerviewanimator" />
<manifest package="com.johnnym.jackitemanimator" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewanimator
package com.johnnym.jackitemanimator

class ChangeJackItemAnimations(
val oldHolderAnimation: JackItemAnimation,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewanimator
package com.johnnym.jackitemanimator

import android.animation.Animator
import androidx.recyclerview.widget.RecyclerView
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewanimator
package com.johnnym.jackitemanimator

import android.animation.Animator

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewanimator
package com.johnnym.jackitemanimator

import android.animation.Animator
import android.animation.AnimatorListenerAdapter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewanimator
package com.johnnym.jackitemanimator

import androidx.recyclerview.widget.RecyclerView

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewanimator
package com.johnnym.jackitemanimator

import androidx.recyclerview.widget.RecyclerView

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.johnnym.recyclerviewanimator.defaultanimations
package com.johnnym.jackitemanimator.defaultanimations

import android.animation.Animator
import android.animation.AnimatorSet
import android.animation.ValueAnimator
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import com.johnnym.recyclerviewanimator.JackItemAnimation
import com.johnnym.jackitemanimator.JackItemAnimation

class ItemMoveAndFadeAnimation(
private val holder: RecyclerView.ViewHolder,
Expand Down
Binary file removed recyclerviewdemo/.DS_Store
Binary file not shown.
Binary file removed recyclerviewdemo/src/.DS_Store
Binary file not shown.
Binary file removed recyclerviewdemo/src/main/.DS_Store
Binary file not shown.
Binary file removed recyclerviewdemo/src/main/java/.DS_Store
Binary file not shown.
Binary file removed recyclerviewdemo/src/main/java/com/.DS_Store
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion recyclerviewdemo/build.gradle → sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ androidExtensions {
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.johnnym.recyclerviewdemo"
applicationId "com.johnnym.jackitemanimator.sample"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.johnnym.recyclerviewdemo">
package="com.johnnym.jackitemanimator.sample">

<uses-permission android:name="android.permission.INTERNET" />

Expand All @@ -20,7 +20,7 @@
</intent-filter>
</activity>
<activity
android:name=".recyclerviewfull.presentation.TaxiListActivity"
android:name=".taxilist.presentation.TaxiListActivity"
android:label="@string/recycler_view_demo_full_label" />
</application>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.johnnym.recyclerviewdemo
package com.johnnym.jackitemanimator.sample

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.johnnym.recyclerviewdemo.recyclerviewfull.presentation.TaxiListActivity
import com.johnnym.jackitemanimator.sample.taxilist.presentation.TaxiListActivity
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewdemo
package com.johnnym.jackitemanimator.sample

import android.app.Application
import com.squareup.leakcanary.LeakCanary
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.johnnym.recyclerviewdemo
package com.johnnym.jackitemanimator.sample

import com.johnnym.recyclerviewdemo.recyclerviewfull.TaxiListComponent
import com.johnnym.recyclerviewdemo.recyclerviewfull.TaxiListModule
import com.johnnym.jackitemanimator.sample.taxilist.TaxiListComponent
import com.johnnym.jackitemanimator.sample.taxilist.TaxiListModule
import dagger.Component
import javax.inject.Singleton

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewdemo
package com.johnnym.jackitemanimator.sample

import android.content.Context
import dagger.Module
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.johnnym.recyclerviewdemo.common
package com.johnnym.jackitemanimator.sample.common

import android.app.Activity
import com.johnnym.recyclerviewdemo.RvdApplication
import com.johnnym.jackitemanimator.sample.RvdApplication

val Activity.rvdApplication: RvdApplication
get() = application as RvdApplication
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewdemo.common.binding
package com.johnnym.jackitemanimator.sample.common.binding

import android.app.Activity
import android.app.Dialog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewdemo.common.di
package com.johnnym.jackitemanimator.sample.common.di

import javax.inject.Qualifier
import javax.inject.Scope
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewdemo.common.domain
package com.johnnym.jackitemanimator.sample.common.domain

import io.reactivex.Scheduler
import io.reactivex.Single
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewdemo.common.mvp
package com.johnnym.jackitemanimator.sample.common.mvp

import io.reactivex.disposables.CompositeDisposable
import io.reactivex.disposables.Disposable
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.johnnym.jackitemanimator.sample.common.mvp

interface BasePresenter {

fun viewDestroyed()
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.johnnym.recyclerviewdemo.common.presentation
package com.johnnym.jackitemanimator.sample.common.presentation

import androidx.annotation.CallSuper
import com.johnnym.recyclerviewdemo.common.mvp.DisposablePresenter
import com.johnnym.jackitemanimator.sample.common.mvp.DisposablePresenter
import io.reactivex.observers.DisposableSingleObserver

abstract class GeneralSingleObserver<T>(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewdemo.common.views
package com.johnnym.jackitemanimator.sample.common.views

import android.content.Context
import android.graphics.Outline
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.johnnym.recyclerviewdemo.recyclerviewfull
package com.johnnym.jackitemanimator.sample.taxilist

import com.johnnym.recyclerviewdemo.recyclerviewfull.domain.TaxiList
import com.johnnym.recyclerviewdemo.recyclerviewfull.domain.TaxiListItem
import com.johnnym.recyclerviewdemo.recyclerviewfull.domain.TaxiStatus
import com.johnnym.jackitemanimator.sample.taxilist.domain.TaxiList
import com.johnnym.jackitemanimator.sample.taxilist.domain.TaxiListItem
import com.johnnym.jackitemanimator.sample.taxilist.domain.TaxiStatus
import java.lang.IllegalStateException

class TaxiListMockFactory {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.johnnym.jackitemanimator.sample.taxilist

import com.johnnym.jackitemanimator.sample.common.di.ActivityScoped
import com.johnnym.jackitemanimator.sample.taxilist.presentation.TaxiListActivity
import dagger.Subcomponent

@ActivityScoped
@Subcomponent(
modules = [(TaxiListModule::class)])
interface TaxiListComponent {

fun inject(taxiListActivity: TaxiListActivity)
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.johnnym.recyclerviewdemo.recyclerviewfull
package com.johnnym.jackitemanimator.sample.taxilist

import com.johnnym.recyclerviewdemo.recyclerviewfull.data.MockTaxiListRepository
import com.johnnym.recyclerviewdemo.recyclerviewfull.data.TaxiListRepository
import com.johnnym.recyclerviewdemo.recyclerviewfull.domain.GetTaxiList
import com.johnnym.recyclerviewdemo.recyclerviewfull.domain.TaxiSortOption
import com.johnnym.recyclerviewdemo.recyclerviewfull.domain.TaxiStatusFilter
import com.johnnym.recyclerviewdemo.recyclerviewfull.presentation.TaxiListContract
import com.johnnym.recyclerviewdemo.recyclerviewfull.presentation.TaxiListViewModelMapper
import com.johnnym.recyclerviewdemo.recyclerviewfull.presentation.TaxiListPresenter
import com.johnnym.jackitemanimator.sample.taxilist.data.MockTaxiListRepository
import com.johnnym.jackitemanimator.sample.taxilist.data.TaxiListRepository
import com.johnnym.jackitemanimator.sample.taxilist.domain.GetTaxiList
import com.johnnym.jackitemanimator.sample.taxilist.domain.TaxiSortOption
import com.johnnym.jackitemanimator.sample.taxilist.domain.TaxiStatusFilter
import com.johnnym.jackitemanimator.sample.taxilist.presentation.TaxiListContract
import com.johnnym.jackitemanimator.sample.taxilist.presentation.TaxiListViewModelMapper
import com.johnnym.jackitemanimator.sample.taxilist.presentation.TaxiListPresenter
import dagger.Module
import dagger.Provides
import io.reactivex.android.schedulers.AndroidSchedulers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.johnnym.recyclerviewdemo.recyclerviewfull.data
package com.johnnym.jackitemanimator.sample.taxilist.data

import com.johnnym.recyclerviewdemo.recyclerviewfull.TaxiListMockFactory
import com.johnnym.recyclerviewdemo.recyclerviewfull.domain.TaxiList
import com.johnnym.jackitemanimator.sample.taxilist.TaxiListMockFactory
import com.johnnym.jackitemanimator.sample.taxilist.domain.TaxiList
import io.reactivex.Single
import java.util.concurrent.TimeUnit

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.johnnym.jackitemanimator.sample.taxilist.data;

import com.johnnym.jackitemanimator.sample.taxilist.domain.TaxiList
import io.reactivex.Single

interface TaxiListRepository {

fun getTaxiListSingle(): Single<TaxiList>
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.johnnym.recyclerviewdemo.recyclerviewfull.domain
package com.johnnym.jackitemanimator.sample.taxilist.domain

import com.johnnym.recyclerviewdemo.common.domain.UseCase
import com.johnnym.recyclerviewdemo.recyclerviewfull.data.TaxiListRepository
import com.johnnym.jackitemanimator.sample.common.domain.UseCase
import com.johnnym.jackitemanimator.sample.taxilist.data.TaxiListRepository
import io.reactivex.Scheduler
import io.reactivex.Single

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.johnnym.jackitemanimator.sample.taxilist.domain

import com.johnnym.jackitemanimator.sample.taxilist.domain.TaxiListItem

data class TaxiList(
val taxiListItems: List<TaxiListItem>)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewdemo.recyclerviewfull.domain
package com.johnnym.jackitemanimator.sample.taxilist.domain

data class TaxiListItem(
val taxiId: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewdemo.recyclerviewfull.domain
package com.johnnym.jackitemanimator.sample.taxilist.domain

enum class TaxiSortOption {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewdemo.recyclerviewfull.domain
package com.johnnym.jackitemanimator.sample.taxilist.domain

enum class TaxiStatusFilter {
ONLY_AVAILABLE,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.johnnym.recyclerviewdemo.recyclerviewfull.presentation
package com.johnnym.jackitemanimator.sample.taxilist.presentation

import android.content.Context
import android.content.Intent
Expand All @@ -12,13 +12,13 @@ import android.view.MenuItem
import android.view.View
import android.widget.AdapterView
import android.widget.ArrayAdapter
import com.johnnym.recyclerviewdemo.R
import com.johnnym.recyclerviewdemo.common.rvdApplication
import com.johnnym.recyclerviewdemo.recyclerviewfull.TaxiListModule
import com.johnnym.recyclerviewdemo.recyclerviewfull.domain.TaxiStatusFilter
import com.johnnym.recyclerviewdemo.recyclerviewfull.presentation.taxilist.CustomJackItemAnimator
import com.johnnym.recyclerviewdemo.recyclerviewfull.presentation.taxilist.TaxiListAdapter
import com.johnnym.recyclerviewdemo.recyclerviewfull.presentation.taxilist.TaxiListItemDecoration
import com.johnnym.jackitemanimator.sample.R
import com.johnnym.jackitemanimator.sample.common.rvdApplication
import com.johnnym.jackitemanimator.sample.taxilist.TaxiListModule
import com.johnnym.jackitemanimator.sample.taxilist.domain.TaxiStatusFilter
import com.johnnym.jackitemanimator.sample.taxilist.presentation.taxilist.CustomJackItemAnimator
import com.johnnym.jackitemanimator.sample.taxilist.presentation.taxilist.TaxiListAdapter
import com.johnnym.jackitemanimator.sample.taxilist.presentation.taxilist.TaxiListItemDecoration
import kotlinx.android.synthetic.main.taxi_list_activity.*
import javax.inject.Inject

Expand Down
Loading

0 comments on commit 077eeed

Please sign in to comment.