question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Meta artifact containing all the splits

See original GitHub issue

I’m aware that the whole point of this library is that you use the modules you need to keep apk size down. The thing is, when using lots of the splitties like I do in several projects it would be more convenient to be able do add one meta dependency containing all splits. Cleans up the build.gradle and with Proguard/R8 everything thats not used it thrown out for release builds anyway.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
LouisCADcommented, Apr 7, 2019

Here are all the groups I plan to have:

  1. Android base pack: activities, appctx, bitflags, bundle, collections, dimensions, fragments, fragmentargs, intents, mainhandler, mainthread, material-colors, permissions (new split using coroutines, released in next version, later this week), preferences, resources, systemservices, toast, views, views-coroutines, views-recyclerview, views-selectable & views-selectable-constraintlayout
  2. Android AppCompat (pack 1, plus alertdialog-appcompat, alertdialog-appcompat-coroutines, views-appcompat, and views-selectable-appcompat)
  3. Android Material Components (pack 2, plus material-lists, snackbar, views-cardview, views-coroutines-material & views-material)
  4. Android with Views DSL (pack 1, plus views-dsl, views-dsl-constraintlayout & views-dsl-recyclerview)
  5. Android AppCompat with Views DSL (pack 2 & 4, plus views-dsl-appcompat
  6. Android Material Components with Views DSL (pack 3 & 5, plus views-dsl-coordinatorlayout & views-dsl-material)

Notably absents are:

  1. alertdialog (to avoid confusion in IDE autocomplete if also using alertdialog-appcompat)
  2. arch-lifecycle (I’d like to split it up and removed overlap with AndroidX KTX artifacts in the future)
  3. arch-room (because I use SQLDelight instead of Room for databases, and not all apps need Room)
  4. checkedlazy (I’m not sure it’d be helpful to everyone, so I think it’s better to keep it separate)
  5. exceptions (same as for checkedlazy)
  6. initprovider (same as for checkedlazy)
  7. lifecycle-coroutines (because it will overlap with AndroidX Lifecycle KTX and with upcoming fix in R8 then D8 for https://github.com/Kotlin/kotlinx.coroutines/issues/878)
  8. stetho-init (because should only be used for debug builds, or a subset of those, for those who want to use it)
  9. typesaferecyclerview (same as for checkedlazy)
  10. views-dsl-ide-preview (same as for stetho-init)

I’m still not decided on the base name (prefix) of those artifacts. If you have any ideas, please tell me, it can be helpful.

1reaction
LouisCADcommented, Apr 28, 2019

Version 3.0.0-alpha05 should be available tomorrow in the day with docs for the grouping artifacts, and for the new permissions split.

All this is already available in the latest dev version (3.0.0-dev-008 see instructions in README on the develop branch). I need to write the changelog before releasing properly, but I also need to sleep.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Current and Novel Techniques for Metal Artifact Reduction at CT
(c) Diagram shows a single-source CT scanner with a split filter at the output of the x-ray tube, which splits the x-ray beam...
Read more >
Methods to address metal artifacts in post-processed CT images
The software then 'splits' the image into two split parts. One split part contains the fractured vertebra and other vertebrae distal to it,...
Read more >
Nonlinearly scaled prior image‐controlled frequency split for high ...
Abstract Purpose This paper introduces a new approach for the dedicated reduction of high-frequency metal artifacts, which applies a nonlinear scaling (NLS) ...
Read more >
“Frequency split metal artifact reduction (FSMAR) in computed ...
The paper I have chosen for critical review is “Frequency split metal artifact reduction (FSMAR) in computed tomography” by Meyer et al., published...
Read more >
Methods of Meta-Analysis: Correcting Error and Bias in ...
Meta -Analysis of Correlations using Artifact Distributions ... Indeed, this may be the case for all artifacts other than sampling error.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found