-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from StepicOrg/release/1.5
Release/1.5
- Loading branch information
Showing
189 changed files
with
4,849 additions
and
832 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,6 @@ Thumbs.db | |
build/ | ||
|
||
#NDK | ||
obj/ | ||
obj/ | ||
|
||
maka-vlc/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
app/src/main/java/org/stepic/droid/concurrency/HandlerBaseDelegate.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.stepic.droid.concurrency | ||
|
||
import android.os.Handler | ||
|
||
abstract class HandlerBaseDelegate : IHandler { | ||
override fun post(body: () -> Unit) = getHandler().post { body.invoke() } | ||
abstract fun getHandler() : Handler | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.stepic.droid.concurrency | ||
|
||
interface IHandler { | ||
fun post(body : ()->Unit): Boolean | ||
} |
3 changes: 3 additions & 0 deletions
3
app/src/main/java/org/stepic/droid/concurrency/IMainHandler.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package org.stepic.droid.concurrency | ||
|
||
interface IMainHandler : IHandler |
10 changes: 10 additions & 0 deletions
10
app/src/main/java/org/stepic/droid/concurrency/MainHandlerImpl.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.stepic.droid.concurrency | ||
|
||
import android.os.Handler | ||
import org.stepic.droid.base.MainApplication | ||
|
||
class MainHandlerImpl : HandlerBaseDelegate(), IMainHandler { | ||
val mainHandler = Handler(MainApplication.getAppContext().mainLooper) | ||
|
||
override fun getHandler() = mainHandler | ||
} |
33 changes: 0 additions & 33 deletions
33
app/src/main/java/org/stepic/droid/concurrency/ToDbCachedVideo.java
This file was deleted.
Oops, something went wrong.
56 changes: 0 additions & 56 deletions
56
app/src/main/java/org/stepic/droid/concurrency/ToDbStepTask.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...droid/concurrency/AsyncResultWrapper.java → ...concurrency/tasks/AsyncResultWrapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.