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
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 |
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
<meta-data | |
android:name="default-url" | |
android:value="https://example.domain" /> |
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
<intent-filter android:autoVerify="true"> | |
... | |
<data | |
android:scheme="http" | |
android:host="example.domain" | |
android:pathPrefix="/products" /> | |
<data android:scheme="https"/> | |
</intent-filter> |
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
apply plugin: 'com.android.instantapp' | |
dependencies { | |
implementation project(':product') | |
implementation project(':productlist') | |
implementation project(':base') | |
} |
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
apply plugin: 'com.android.feature' | |
... | |
dependencies { | |
implementation project(':base') | |
... | |
} |
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
apply plugin: 'com.android.feature' | |
android { | |
baseFeature true | |
... | |
} | |
dependencies { | |
api 'com.android.support:appcompat-v7:26.0.1' | |
api 'com.android.support.constraint:constraint-layout:1.0.2' |
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
apply plugin: 'com.android.application' | |
... | |
dependencies { | |
implementation project(':product') | |
implementation project(':productlist') | |
implementation project(':base') | |
} |
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
<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 |
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
[{ | |
"relation": ["delegate_permission/common.handle_all_urls"], | |
"target": { | |
"namespace": "android_app", | |
"package_name": "com.example.app", | |
"sha256_cert_fingerprints": | |
["00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00"] | |
} | |
}] |
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
void LateUpdate(){ | |
if (GvrViewer.Instance.BackButtonPressed) { | |
Application.Quit (); | |
} | |
if (GvrViewer.Instance.Triggered) { | |
SomeAction (); | |
} | |
} |
NewerOlder