Android Question Searchview Class - How to RemoveView?

Discussion in 'Android Questions' started by tdocs2, Feb 25, 2015.

  1. tdocs2

    tdocs2 Well-Known Member Licensed User

    Greetings, all.
    Great class! Thank you, Erel.
    The class provides for AddtoParent... How do I remove the searchview from its parent as I would with a listview (ListView.RemoveView)?
    Thank you.
    Sandy
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Add this sub to SearchView class:
    Code:
    Public Sub RemoveView
       lv.RemoveView
       et.RemoveView
    End Sub
     
  3. tdocs2

    tdocs2 Well-Known Member Licensed User

    Thank you, Erel.

    Should the class be updated?

    Best regards.

    Sandy
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    I don't always update the open source classes immediately. It will be updated when there is a major change.
     
  5. tdocs2

    tdocs2 Well-Known Member Licensed User

    Thanks again, Erel.

    This is a great and useful class, and I did not want to start tinkering with the code....

    Best regards.

    Sandy
     
Loading...
  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