<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Using ImageView in (onButtonSingleOrDoubleClickOrHold)]]></title><description><![CDATA[<p dir="auto">I am trying to change my ImageView color e.g (from blue to black) on the event SingleClick in the method (onButtonSingleOrDoubleClickOrHold) in BroadCast Receiver but since 'findViewbyid' cant be used in non activity class  it crashes my app. I tried to use Class constructor and alsosing Main activity object (bad option) and it crashes my app aswell.<br />
Is their anyway how I can use findViewbyId in (onButtonSingleOrDoubleClickOrHold) on the event SingleClick.</p>
]]></description><link>https://community.flic.io/topic/169/using-imageview-in-onbuttonsingleordoubleclickorhold</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 23:44:06 GMT</lastBuildDate><atom:link href="https://community.flic.io/topic/169.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Jan 2017 13:16:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using ImageView in (onButtonSingleOrDoubleClickOrHold) on Mon, 30 Jan 2017 13:52:08 GMT]]></title><description><![CDATA[<p dir="auto">You could for example send an Intent to your activity. If it does not exist (due to inactivity) it will then be recreated.</p>
]]></description><link>https://community.flic.io/post/630</link><guid isPermaLink="true">https://community.flic.io/post/630</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Mon, 30 Jan 2017 13:52:08 GMT</pubDate></item></channel></rss>