Search:

Type: Posts; User: michaelz

Search: Search took 0.10 seconds.

  1. Replies
    16
    Views
    5,349

    Re: Checking the Status of a checkbox

    unset (false). That is the value it is initially set to
  2. Replies
    16
    Views
    5,349

    Re: Checking the Status of a checkbox

    It seems to get the value initially and it stays constant. Is there some way i can make a listener to catch checking events?
  3. Replies
    16
    Views
    5,349

    Re: Checking the Status of a checkbox

    I will post the code for the classes.

    Here is Checkbox

    public class Checkbox extends ListActivity {
    /** Called when the activity is first created. */

    private static...
  4. Replies
    16
    Views
    5,349

    Re: Checking the Status of a checkbox

    so i did


    private static CheckBoxifiedTextListAdapter cbla;

    and new method

    public static getCbla()
    {
    return cbla;
  5. Replies
    16
    Views
    5,349

    Re: Checking the Status of a checkbox

    Yes, there is only one instance at a time-the instance running in the onCreate() method of the Checkbox class. As you notice in the Checkbox class (i posted it above), I have a cbla. If I make this...
  6. Replies
    16
    Views
    5,349

    Re: Checking the Status of a checkbox

    In prefWindow I can get the status, but to access cb1 in another class it would be impossible without making an instance of prefWindow.






    public class Checkbox extends ListActivity {
    ...
  7. Replies
    16
    Views
    5,349

    Re: Checking the Status of a checkbox

    Well they're mCheckboxes (in android) and while I have public getters, I can only use them on an instance of a class. For example (the runner class is named Checkboxes)
    Checkboxes c = new...
  8. Replies
    16
    Views
    5,349

    Checking the Status of a checkbox

    Hello,
    I have essentially a preferences window with a bunch of boolean checkboxes. In another class, I need to check the status of these checkboxes (checked or unchecked), but I don't know how to do...
Results 1 to 8 of 8