735 questions
1
vote
1
answer
128
views
How can I display Edittext and checkbox input (+showing checkbox labels) into a recyclerview (using 2 activities, 1 for input, 1 for display)
I'm wondering how can I make it so that in a recycler view, the input from the editTexts and the input from the checkboxes are displayed into that recycler view.
I mainly would like to see if the ...
0
votes
1
answer
69
views
how do i retrieve the value of all checkBox in the RecyclerView?
The data succesfully added to the firebase,
however it only send 3 data of recyclerView.
based on what chatGpt
since only 3 recyclerView fit in screen,thats why only 3 succesfully retrieve
here is the ...
0
votes
1
answer
805
views
CheckBox State is not changing in jetpack compose LazyColumn items()
I have a LazyColumn in which items() exist that holds 5 checkboxes, and the state of these can be controlled by a single parent variable as well as with a specific variable. The code is below:
val ...
0
votes
2
answers
47
views
Android checkbox size and alignment
I have a simple default checkbox in android app:
<CheckBox
android:id="@+id/sklad"
android:layout_below="@id/barcode_text"
android:layout_toLeftOf=&...
0
votes
1
answer
68
views
In Android how can we add a checkbox with a text and a icon?
Please help me to understand how we can design the following view?
view- icon with text and checkbox
In reality this would be a part of a grid view.
I could add a text view and a image view to have ...
0
votes
1
answer
171
views
React Native: Text strings must be rendered within a <Text> component. Using expo-checkbox on Android
I am trying to create a simple to do list app. Everything is working in the web, but on android I am getting the error written in the title.
I have no issues when I comment out value and onValueChange ...
-1
votes
1
answer
33
views
Android: get checkbox value from another activity with shared preferences, nullPointerException
I am trying to access the value of a checkbox (MainActivity2) from another activity (MainActivity) with sharedPreferences.
Since I want to save the checkbox status, I am using sharedPreferences anyway....
0
votes
1
answer
70
views
Check listener not being called on checkbox when isChecked set to true
I have a condition where I need to execute the code in checkChangeListener directly without clicking on checkbox.
I have set the checkbox.isChecked = true but still my checkChangeListener is not being ...
1
vote
1
answer
848
views
Android checkbox not inflated as MaterialCheckBox as stated in documentation
I'm trying to following the documentation from Material 3 for checkboxes:
https://github.com/material-components/material-components-android/blob/master/docs/components/Checkbox.md
At the very ...
0
votes
0
answers
54
views
Use checkbox state to determine attribute of another XML element
I have a checkbox and a button in the same layout like in the sample code below. I want to make the button clickable only if checkbox is checked. I need to do it in XML without use of any listeners. ...
0
votes
0
answers
62
views
android shape within selector not working
I am trying to change the color and shape of the checkbox with the below code. The below code changes color of checkbox but does not change the shape of the button. What changes need to be done?
<?...
0
votes
2
answers
877
views
Changing color of Checkbox in React Native
It is possible to change color of CheckBox from react-native?
For now only when is checked color is Purple, but when is unchecked border color is gray.
<CheckBox
value={isSelected}
...
0
votes
2
answers
215
views
Android Checkbox weird behavior (becomes disabled and clickable after bringing fragment from backstack)
I am currently facing an issue using CheckBox in my fragment.
Once the fragment is opened, the checkbox works properly.
The check box's behavior changes in two case:
When I bring the fragment from ...
0
votes
1
answer
70
views
Programatically create checkbox menu in fragment java
I am having a Fragment and below is how i am adding menus in my onCreateOptionsMenu programatically
@Override
public void onCreateOptionsMenu(@NonNull Menu menu, @NonNull MenuInflater inflater) {
...
1
vote
1
answer
1k
views
How to get values of all the checkboxes checked using android kotlin? I am getting null pointer Exception
for logic of the question you can refer to this question:-
question Logic
After lots of efforts I have came to this point. Please help me solving this problem.
Here is activity code:-
class ...