Fixed
Status Update
Comments
su...@google.com <su...@google.com>
ap...@google.com <ap...@google.com> #2
Only the `argType="reference"` accepts resource IDs (and returns an int that you'd pass to getContext().getString()), so it is working as intended that a "string" type is exactly what you put into your XML. It was important that the build time code gen and the runtime behavior always matches and that was not possible in the general cases - see edge cases such as https://issuetracker.google.com/issues/111736515 for some background.
Please starhttps://issuetracker.google.com/issues/36994900 to track progress towards allowing placeholders in XML files, which would be the recommended way of filling in placeholders at compile time.
Please star
su...@google.com <su...@google.com> #3
Ok thanks, I understand now, I wasn't aware of argType="reference". Anyway I think it is a bit strange that behavior is different if we navigate using safe args gen code (navController.navigate(WebPageFragmentDirections.actionGlobalHomeFragment())) and code without safe args (navController.navigate(R.id.homeFragment)) if the navigation xml file is the same.
ne...@gmail.com <ne...@gmail.com> #4
Yes, I think we can make it more explicit that only reference types can have references to other resources.
Description
Version used: Android 9 Pie
Add a test facility to reduce minimal work interval from 15 mins to 1 min or less.
Rationale: We must test our app end to end to make sure scheduled periodic jobs to upload business-critical data to back-end are executed correctly. The current minimal periodic work schedule interval is 15 mins, which means rounds of regressions usually take 30-60 mins for just a couple of scenarios. Testing will significantly improve if testers could tune this minimal 15 mins interval to something shorter than 2 mins.
Examples of possible acceptable options to solve this:
- a new option under the Android developer-options menu (just like animations speed)
- a setting in WorkManager's lib to create builds with customized interval