Refactor services

This commit is contained in:
kitsunyan
2020-06-19 15:20:16 +03:00
parent 561352b685
commit 75928d260d
11 changed files with 56 additions and 49 deletions
@@ -20,7 +20,7 @@ import nya.kitsunyan.foxydroid.utility.Utils
class RepositoriesFragment: Fragment(), CursorOwner.Callback {
private var recyclerView: RecyclerView? = null
private val syncConnection = Connection<SyncService.Binder>(SyncService::class.java)
private val syncConnection = Connection(SyncService::class.java)
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
return inflater.inflate(R.layout.fragment, container, false).apply {