As a work-around, I added a function 'closest-android-ancestor' which tries to determine the 'closest' android.* ancestor (actually, the starting class is also considered). Replacing the aforementioned line with:
Changes Unknown when pulling d6574cd4d6c15479988c140394bc6deb18f6916d on satchit8:custom-constructor-with-proxy-of-container into \ on clojure-android:master**.
Currently, :custom-constructor doesn't appear to work for proxied container widgets:
leads to an error at runtime.
The deftrait for :container has:
So IIUC, if wdg is a proxy, kw becomes nil.
As a work-around, I added a function 'closest-android-ancestor' which tries to determine the 'closest' android.* ancestor (actually, the starting class is also considered). Replacing the aforementioned line with:
yields better results here.
Likely there's a better way :)