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>
@tsmrecki
tsmrecki / AndroidManifest.xml
Last active December 20, 2017 09:28
Android Instant App activity intent filter example
<activity android:name=".ProductActivity">
<intent-filter
android:autoVerify="true"
android:order="100">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
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