Skip to content

Instantly share code, notes, and snippets.

View tsmrecki's full-sized avatar

Tomislav Smrečki tsmrecki

  • Zagreb
View GitHub Profile
@tsmrecki
tsmrecki / build.gradle
Last active December 20, 2017 09:22
Instant App data deep links proper definition
<intent-filter android:autoVerify="true">
...
<data
android:scheme="http"
android:host="example.domain"
android:pathPrefix="/products" />
<data android:scheme="https"/>
</intent-filter>
<meta-data
android:name="default-url"
android:value="https://example.domain" />
package com.bornfight.demo.repository.news
import androidx.paging.ExperimentalPagingApi
import androidx.paging.LoadType
import androidx.paging.PagingState
import androidx.paging.RemoteMediator
import androidx.room.withTransaction
import com.bornfight.common.data.database.AppDatabase
import com.bornfight.common.data.retrofit.ApiInterface
import com.bornfight.demo.model.NewsIte