Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating dependencies + fixes #26

Merged
merged 9 commits into from
May 10, 2019
Merged

Updating dependencies + fixes #26

merged 9 commits into from
May 10, 2019

Conversation

maxspencer
Copy link
Contributor

This PR bundles together a few things I've been working on today:

  1. Increases kotlin version, gradle plugin version and various other dependencies as recommended by AS.
  2. Adds a very basic (but still better than nothing!) sample app implementation.
  3. Doing 2 ☝️ I found that the approach of logging saved state in onStop was flawed because on newer (some?) versions of Android, specifically on the emulator I was using, onStop is called before state is saved. I've fixed this problem by letting state be logged in onStop or onDestroy for both fragments and activities. It's possible that this will resolve issue Logs aren't displaying #18.

# Conflicts:
#	app/build.gradle
#	app/src/main/java/com/gu/toolargetool/sample/MainActivity.java
#	build.gradle
#	gradle/wrapper/gradle-wrapper.properties
#	toolargetool/build.gradle
#	toolargetool/src/main/java/com/gu/toolargetool/ActivitySavedStateLogger.kt
#	toolargetool/src/main/java/com/gu/toolargetool/FragmentSavedStateLogger.kt
@maxspencer maxspencer merged commit f1c25dc into master May 10, 2019
@maxspencer maxspencer deleted the maintenance branch May 10, 2019 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant