Benedikt Löbbecke

Results 15 comments of Benedikt Löbbecke

@Suvorov-Alex Fixed on my version of the lib: [https://github.com/B3nedikt/ViewPump](https://github.com/B3nedikt/ViewPump) In short you can't use ContextWrappers which overwrite getResources() anymore when you overwrite attachBaseContext(...) like in this original version of ViewPump.

@Fredcopper Of course you can still use ContextWrappers, but as I have written above not in the way used in this version of ViewpPump. I can´t think of any link...

This repository uses one [here](https://github.com/InflationX/ViewPump/blob/master/viewpump/src/main/java/io/github/inflationx/viewpump/ViewPumpContextWrapper.kt). It does not overwrite getResources() though, so only if you use a library in combination with ViewPump which does this, you will get the crash...

This is not supported by this version of the lib, my fork can do it though: https://github.com/B3nedikt/restring

@iTruff I forked the lib and plan to maintain it: https://github.com/B3nedikt/restring Different gradle import oc, but the API is for now the same. I already ported it to kotlin and...

@iTruff I already added AndroidX support :)

That is correct, custom Resources are not supported by android, that's kind of the reason why the getString() methods on Context are final. I think there are two intended ways...

@cybergen78 This is already fixed on my fork of the lib: [Restring](https://github.com/B3nedikt/restring).

I would say what this library does is nearly the same as a recomposition in compose, except that it only works for strings. So you could achieve the exact same...

Hi @joakley-msft & @meghandaly. I got to this issue from an interesting blog post by @ZacSweers. I created a [fork of ViewPump](https://github.com/B3nedikt/ViewPump) which does not rely on a custom LayoutInflater...