Great, thanks.
You're right that it tripped me up because it wants this constructor:
public StatsTable(Context context, AttributeSet attrs) {
It works now that I put it in.
On Sep 14, 7:24 pm, Mark Murphy mmur...@commonsware.com wrote:
If StatsTable is in the com.coolgroups.bob package, you
Actually, this is returning null:
StatsTable st = (StatsTable) findViewById(R.id.hello);
Any idea why?
On Sep 14, 7:24 pm, Mark Murphy mmur...@commonsware.com wrote:
If StatsTable is in the com.coolgroups.bob package, you would use:
com.coolgroups.bob.StatsTable android:id=@+id/hello ... /
The problem was in my widget, I had the correct constructor (Context
context AttributeSet attr); HOWEVER - super(context) was being called
- not super(context, attr). Once I fixed that, life was better.
On Sep 15, 3:21 am, bob b...@coolgroups.com wrote:
Actually, this is returning null:
3 matches
Mail list logo