Comments (8)
There's no attr with "defaultValue" in the values.xml.
There's also no conflicting attrs, the sheet library's names start with "sheet...".
Indeed, I use the preference library, so the fragment manager can be taken out of the context in the PreferenceFragmentCompat.
I don't really know how to fix this for now - I will attempt to try some things out on the weekend.
from sheets.
Hi there!
i solved my issue by excluding preference library from your library, now its working wonderfully.
implementation ('com.maxkeppeler.sheets:core:2.0.0') { exclude group: 'androidx.preference', module: 'preference-ktx' } implementation ('com.maxkeppeler.sheets:input:2.0.0') { exclude group: 'androidx.preference', module: 'preference-ktx' }
from sheets.
@maxkeppeler sir any help?
from sheets.
I can't replicate this issue. So I guess an id is the same as another from your values file? Which would that be?
from sheets.
C:\Users\BI.IT-010.gradle\caches\transforms-2\files-2.1\2ccd1e7c841bb979159f85186e44dbc7\preference-1.1.1\res\values\values.xml:257:5-336:25: AAPT: error: duplicate value for resource 'attr/defaultValue' with config ''.
and
C:\Users\BI.IT-010.gradle\caches\transforms-2\files-2.1\2ccd1e7c841bb979159f85186e44dbc7\preference-1.1.1\res\values\values.xml:257:5-336:25: AAPT: error: resource previously defined here.
on clicking on these errors, this file opens.
<!-- Whether the preference allows displaying divider on top -->
<attr format="boolean" name="allowDividerAbove"/>
<!-- Whether the preference allows displaying divider below it -->
<attr format="boolean" name="allowDividerBelow"/>
<!-- Whether to use single line for the preference title text. By default, preference title
will be constrained to one line, so the default value of this attribute is true. -->
<attr format="boolean" name="singleLineTitle"/>
<attr name="android:singleLineTitle"/>
<!-- Whether the space for the preference icon view will be reserved. If set to true, the
preference will be offset as if it would have the icon and thus aligned with other
preferences having icons. By default, preference icon view visibility will be set to
GONE when there is no icon provided, so the default value of this attribute is false.
-->
<attr format="boolean" name="iconSpaceReserved"/>
<attr name="android:iconSpaceReserved"/>
<!-- Whether the Preference is visible. By default, this is set to true. -->
<attr format="boolean" name="isPreferenceVisible"/>
<!-- Whether the summary of this preference can be copied to the clipboard by long pressing
on the preference. By default, this is set to false. -->
<attr format="boolean" name="enableCopying"/>
</declare-styleable>
may be some other library is conflicting with your library resources.
from sheets.
may be this dependency causing issue,
preference: "androidx.preference:preference-ktx:1.1.1"
which is present in your core library, may be some other library is also using this.
from sheets.
Sorry, I can't replicate it and don't know how to continue with this issue you have.
If you know anything else, let me know.
from sheets.
Nice! However, I wonder how I can fix this on my end. I only need it in order to get the FragmentManager from the PreferenceContext. But it seems like the whole library is leaking?
from sheets.
Related Issues (20)
- Color: TextView overlaps SeekBar HOT 2
- Localization: consider using platform resources HOT 1
- onNegative / onPositive support for dynamic drawables
- Text content on OptionSheet HOT 1
- Option constructor with long click listener without specifying sub-text. HOT 2
- Core module leaking colour attributes into consuming applications HOT 1
- make bottom sheet form scrollable HOT 1
- Option customisation support HOT 1
- Cannot use textview on bottomsheet HOT 3
- How to modify the size of the TextView of OptionSheet? HOT 1
- ColorSheet For Jetpack Compose. HOT 4
- CharSequence to the rescue
- Positive button should be invisible or unclickable.
- Custom year range in CalendarSheet HOT 1
- Text/Icons not centered when using OptionSheet as dialog HOT 1
- Upgrade to material 3. HOT 1
- Looping for option sheet HOT 1
- prevent dismiss
- Months Layout
- `rememberSheetState` and `rememberLauncherForActivityResult` not working together in the same page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sheets.