Skip to content

Commit 9660cc0

Browse files
committed
Update copyrights
1 parent 27cf952 commit 9660cc0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1476
-132
lines changed

LICENSE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2017 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
4-
and Vasili Chyrvon (vasili.chyrvon@gmail.com)
3+
Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
4+
and Vasili Chyrvon (vasili.chyrvon@gmail.com)
55

66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal
@@ -19,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1919
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2020
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2121
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22-
SOFTWARE.
22+
SOFTWARE.

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,10 @@ Note that Command passes events only when PM is in the RESUMED state.
325325
## License
326326

327327
```
328+
The MIT License (MIT)
328329
329-
MIT License
330-
331-
Copyright (c) 2017 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
332-
and Vasili Chyrvon (vasili.chyrvon@gmail.com)
330+
Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
331+
and Vasili Chyrvon (vasili.chyrvon@gmail.com)
333332
334333
Permission is hereby granted, free of charge, to any person obtaining a copy
335334
of this software and associated documentation files (the "Software"), to deal

rxpm/src/main/AndroidManifest.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ The MIT License (MIT)
4+
~
5+
~ Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
6+
~ and Vasili Chyrvon (vasili.chyrvon@gmail.com)
7+
~
8+
~ Permission is hereby granted, free of charge, to any person obtaining a copy
9+
~ of this software and associated documentation files (the "Software"), to deal
10+
~ in the Software without restriction, including without limitation the rights
11+
~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
~ copies of the Software, and to permit persons to whom the Software is
13+
~ furnished to do so, subject to the following conditions:
14+
~
15+
~ The above copyright notice and this permission notice shall be included in all
16+
~ copies or substantial portions of the Software.
17+
~
18+
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
~ SOFTWARE.
25+
-->
26+
227
<manifest package="me.dmdev.rxpm"/>

rxpm/src/main/kotlin/me/dmdev/rxpm/Action.kt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
5+
* and Vasili Chyrvon (vasili.chyrvon@gmail.com)
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
*/
25+
126
package me.dmdev.rxpm
227

328
import android.annotation.*

rxpm/src/main/kotlin/me/dmdev/rxpm/Command.kt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
5+
* and Vasili Chyrvon (vasili.chyrvon@gmail.com)
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
*/
25+
126
package me.dmdev.rxpm
227

328
import com.jakewharton.rxrelay2.*

rxpm/src/main/kotlin/me/dmdev/rxpm/PmExtensions.kt

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,40 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
5+
* and Vasili Chyrvon (vasili.chyrvon@gmail.com)
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
*/
25+
126
package me.dmdev.rxpm
227

3-
import com.jakewharton.rxrelay2.*
4-
import io.reactivex.*
5-
import io.reactivex.android.schedulers.*
6-
import io.reactivex.functions.*
7-
import me.dmdev.rxpm.util.*
28+
import com.jakewharton.rxrelay2.Relay
29+
import io.reactivex.Completable
30+
import io.reactivex.Maybe
31+
import io.reactivex.Observable
32+
import io.reactivex.Single
33+
import io.reactivex.android.schedulers.AndroidSchedulers
34+
import io.reactivex.functions.BiFunction
35+
import io.reactivex.functions.Consumer
36+
import me.dmdev.rxpm.util.BufferSingleValueWhileIdleOperator
37+
import me.dmdev.rxpm.util.BufferWhileIdleOperator
838

939

1040
/**

rxpm/src/main/kotlin/me/dmdev/rxpm/PmView.kt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
5+
* and Vasili Chyrvon (vasili.chyrvon@gmail.com)
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
*/
25+
126
package me.dmdev.rxpm
227

328
/**

rxpm/src/main/kotlin/me/dmdev/rxpm/PresentationModel.kt

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,39 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
5+
* and Vasili Chyrvon (vasili.chyrvon@gmail.com)
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
*/
25+
126
package me.dmdev.rxpm
227

3-
import com.jakewharton.rxrelay2.*
4-
import io.reactivex.*
5-
import io.reactivex.disposables.*
6-
import io.reactivex.functions.*
7-
import me.dmdev.rxpm.navigation.*
28+
import com.jakewharton.rxrelay2.BehaviorRelay
29+
import io.reactivex.Flowable
30+
import io.reactivex.Maybe
31+
import io.reactivex.Observable
32+
import io.reactivex.Single
33+
import io.reactivex.disposables.CompositeDisposable
34+
import io.reactivex.disposables.Disposable
35+
import io.reactivex.functions.Consumer
36+
import me.dmdev.rxpm.navigation.NavigationalPm
837

938
/**
1039
* Parent class for any Presentation Model.

rxpm/src/main/kotlin/me/dmdev/rxpm/State.kt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
5+
* and Vasili Chyrvon (vasili.chyrvon@gmail.com)
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
*/
25+
126
package me.dmdev.rxpm
227

328
import android.annotation.SuppressLint

rxpm/src/main/kotlin/me/dmdev/rxpm/base/PmActivity.kt

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,36 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
5+
* and Vasili Chyrvon (vasili.chyrvon@gmail.com)
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
*/
25+
126
package me.dmdev.rxpm.base
227

3-
import android.os.*
4-
import androidx.appcompat.app.*
5-
import me.dmdev.rxpm.*
6-
import me.dmdev.rxpm.delegate.*
7-
import me.dmdev.rxpm.delegate.PmActivityDelegate.*
28+
import android.os.Bundle
29+
import androidx.appcompat.app.AppCompatActivity
30+
import me.dmdev.rxpm.PmView
31+
import me.dmdev.rxpm.PresentationModel
32+
import me.dmdev.rxpm.delegate.PmActivityDelegate
33+
import me.dmdev.rxpm.delegate.PmActivityDelegate.RetainMode
834

935
/**
1036
* Predefined [Activity][AppCompatActivity] implementing the [PmView][PmView].

rxpm/src/main/kotlin/me/dmdev/rxpm/base/PmBottomSheetDialogFragment.kt

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,37 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
5+
* and Vasili Chyrvon (vasili.chyrvon@gmail.com)
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
*/
25+
126
package me.dmdev.rxpm.base
227

3-
import android.os.*
4-
import android.view.*
5-
import com.google.android.material.bottomsheet.*
6-
import me.dmdev.rxpm.*
7-
import me.dmdev.rxpm.delegate.*
8-
import me.dmdev.rxpm.delegate.PmFragmentDelegate.*
28+
import android.os.Bundle
29+
import android.view.View
30+
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
31+
import me.dmdev.rxpm.PmView
32+
import me.dmdev.rxpm.PresentationModel
33+
import me.dmdev.rxpm.delegate.PmFragmentDelegate
34+
import me.dmdev.rxpm.delegate.PmFragmentDelegate.RetainMode
935

1036
/**
1137
* Predefined [BottomSheetDialogFragment] implementing the [PmView][PmView].

rxpm/src/main/kotlin/me/dmdev/rxpm/base/PmController.kt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2017-2021 Dmitriy Gorbunov (dmitriy.goto@gmail.com)
5+
* and Vasili Chyrvon (vasili.chyrvon@gmail.com)
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
*/
25+
126
package me.dmdev.rxpm.base
227

328
import android.os.Bundle

0 commit comments

Comments
 (0)