Because it comes from a public interface so it has to be public. On Wed, Jan 28, 2009 at 2:23 PM, Tote <[email protected]> wrote: > > Hi, > > Thanks for your answer! I was just confused seeing the scope of this > method: why is it public if it's solely used inside a package? > > Cheers, > > Tote > > On Jan 28, 10:05 pm, James Yum <[email protected]> wrote: >> Hi, >> onFilterComplete is a method of the FilterListener interface that is called >> by the filter. It is not meant to be used by your app to listen for filter >> competion. >> >> Cheers, >> James >> >> On Wed, Jan 28, 2009 at 7:52 AM, Tote <[email protected]> wrote: >> >> > I'd like to get a notification when filtering is complete in my >> > AutoCompleteTextView. The problem is that although onFilterComplete() >> > method does exist, it doesn't have the corresponding setter method >> > with which I could set my own listener for this event. How is that >> > possible? Did I miss something? >> >> > My theoretical workaround, which I haven't tried yet, for the case if >> > onFilterComplete() wouldn't work is that I set my own >> > onItemClickedListener and onItemSelectedListener. But it's a bit >> > laborous to implement two methods instead of one especially if that >> > one method is exactly for the same purpose. Is it? >> >> > Can you help me? Thanks! > > >
-- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

