Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. abdullah.zaman
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    abdullah.zaman

    @abdullah.zaman

    0
    Reputation
    256
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    abdullah.zaman Unfollow Follow

    Latest posts made by abdullah.zaman

    • Using ImageView in (onButtonSingleOrDoubleClickOrHold)

      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.
      Is their anyway how I can use findViewbyId in (onButtonSingleOrDoubleClickOrHold) on the event SingleClick.

      posted in Developers
      abdullah.zaman
      abdullah.zaman