I ran into the same issue. The method call is not seen by the
compiler. Use an object of the class "Context" to make that method
call.
If you are continuing the HelloGallery Example, there is a Context
object already being used called mContext.
So my code looks like this:
public ImageAdapter2
On 13 mayo, 20:27, lilbyrdie wrote:
> I've answered my own question. Net result is the same, just a
> different way of getting to the default theme resources, but it's what
> I was missing.
>
> Within your attrs.xml file, place a block that looks like the
> following:
>
>
>
>
>
Thank, lilbyrdie. It helped me a lot :)
The thing is I'm still getting an error in function
obtainStyledAttributes, where the compiler says that
obtainStyledAttributes(int[]) is undefined.
I have that class extending BaseAdapter. What am I missing? Should I
be implementing an Interface or somethi
On 13 mayo, 20:27, lilbyrdie wrote:
> I've answered my own question. Net result is the same, just a
> different way of getting to the default theme resources, but it's what
> I was missing.
>
> Within your attrs.xml file, place a block that looks like the
> following:
>
>
>
>
>
Thank, lilbyrdie. It helped me a lot :)
The thing is I'm still getting an error in function
obtainStyledAttributes, where the compiler says that
obtainStyledAttributes(int[]) is undefined.
I have that class extending BaseAdapter. What am I missing? Should I
be implementing an Interface or somethi
I've answered my own question. Net result is the same, just a
different way of getting to the default theme resources, but it's what
I was missing.
Within your attrs.xml file, place a block that looks like the
following:
This basically provides access to the galleryItemBackgr
6 matches
Mail list logo