Android Question Compilation Error

Discussion in 'Android Questions' started by u2005k, Jun 4, 2015.

  1. u2005k

    u2005k Member Licensed User


    I am getting compilation error as shown in the attached file. Error Description (Current Declaration Does not match previous one).

    I have declared Cursor type variable in process global and trying to use it in another activity.

    Thanks a lot.

    Attached Files:

  2. DonManfred

    DonManfred Expert Licensed User

    You are using the name for a collagelist and now you are using the same name for a cursor.
  3. u2005k

    u2005k Member Licensed User

    Hi Don,
    Thanks a lot, there was no other variable with same name but I had same name given to activity. I changed it and it worked.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice