This file contains hidden or 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
Initializing resources... | |
Initializing colors... | |
Traversing all project files to get resources files... | |
Done ! Took : 0.15ms, found 1063 files | |
Parsing color resource node, name = [ds_darker_blue], value = [#00242B] | |
Parsing color resource node, name = [ds_dark_blue], value = [#096EA2] | |
Parsing color resource node, name = [ds_blue], value = [#0088CF] | |
Parsing color resource node, name = [ds_blue_25], value = [#400088CF] | |
Parsing color resource node, name = [ds_blue_10], value = [#190088CF] | |
Parsing color resource node, name = [ds_light_blue], value = [#4C9DC0] |
This file contains hidden or 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
{ | |
"status": "OK", | |
"copyright": "Copyright (c) 2019 The New York Times Company. All Rights Reserved.", | |
"response": { | |
"docs": [ | |
{ | |
"web_url": "https://www.nytimes.com/2019/01/29/world/middleeast/bitcoin-iran-sanctions.html", | |
"snippet": "The cryptocurrency could allow Iranians to make international payments without using the U.S. banking system, an important lever of American power.", | |
"lead_paragraph": "The cryptocurrency could allow Iranians to make international payments without using the U.S. banking system, an important lever of American power.", | |
"print_page": "9", |
This file contains hidden or 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
[1518-07-03 23:58] Guard #2437 begins shift | |
[1518-09-23 00:54] falls asleep | |
[1518-05-08 00:02] Guard #659 begins shift | |
[1518-06-09 00:52] falls asleep | |
[1518-07-27 00:59] wakes up | |
[1518-03-04 00:14] falls asleep | |
[1518-10-28 00:45] falls asleep | |
[1518-11-14 00:02] Guard #3011 begins shift | |
[1518-05-15 23:58] Guard #1447 begins shift | |
[1518-07-29 00:07] falls asleep |
This file contains hidden or 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
private NYTimesService() { | |
HttpLoggingInterceptor loggerInterceptor = new HttpLoggingInterceptor(); | |
loggerInterceptor.setLevel(HttpLoggingInterceptor.Level.BODY); | |
OkHttpClient client = new OkHttpClient.Builder() | |
.addInterceptor(loggerInterceptor) | |
.addInterceptor(new Interceptor() { | |
@NonNull | |
@Override | |
public Response intercept(@NonNull Chain chain) throws IOException { | |
Request request = chain.request(); |
This file contains hidden or 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' | |
android { | |
compileSdkVersion 28 | |
defaultConfig { | |
applicationId "fr.delcey.p5" | |
minSdkVersion 15 | |
targetSdkVersion 27 | |
versionCode 1 | |
versionName "1.0" |
This file contains hidden or 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 fr.delcey.p5.pojo.query; | |
import android.content.Context; | |
import android.os.Parcel; | |
import android.os.Parcelable; | |
import android.text.TextUtils; | |
import androidx.annotation.NonNull; | |
import androidx.annotation.Nullable; | |
import com.google.gson.annotations.Expose; | |
import com.google.gson.annotations.SerializedName; |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.drawerlayout.widget.DrawerLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/main_drawer_layout" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:fitsSystemWindows="true" | |
> |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.drawerlayout.widget.DrawerLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/main_drawer_layout" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:fitsSystemWindows="true" | |
> |
This file contains hidden or 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
Toolbar toolbar = findViewById(R.id.main_toolbar); | |
setSupportActionBar(toolbar); | |
mDrawer = findViewById(R.id.main_drawer_layout); | |
ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(this, | |
mDrawer, | |
toolbar, | |
R.string.navigation_drawer_open, | |
R.string.navigation_drawer_close); | |
mDrawer.addDrawerListener(toggle); |
This file contains hidden or 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
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.main_activity); | |
mBottomNavigationBar = findViewById(R.id.main_bottom_navigation_menu); | |
setupBottomNavigationBar(); |
OlderNewer