{"action":"closed","issue":{"url":"https://api.github.com/repos/embedded-slam/siraj/issues/72","labels_url":"https://api.github.com/repos/embedded-slam/siraj/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/embedded-slam/siraj/issues/72/comments","events_url":"https://api.github.com/repos/embedded-slam/siraj/issues/72/events","html_url":"https://github.com/embedded-slam/siraj/issues/72","id":87737251,"number":72,"title":"Refactor the classes for more reuse","user":{"login":"mgalaleldin","id":6568989,"avatar_url":"https://avatars.githubusercontent.com/u/6568989?v=3","gravatar_id":"","url":"https://api.github.com/users/mgalaleldin","html_url":"https://github.com/mgalaleldin","followers_url":"https://api.github.com/users/mgalaleldin/followers","following_url":"https://api.github.com/users/mgalaleldin/following{/other_user}","gists_url":"https://api.github.com/users/mgalaleldin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgalaleldin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgalaleldin/subscriptions","organizations_url":"https://api.github.com/users/mgalaleldin/orgs","repos_url":"https://api.github.com/users/mgalaleldin/repos","events_url":"https://api.github.com/users/mgalaleldin/events{/privacy}","received_events_url":"https://api.github.com/users/mgalaleldin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/embedded-slam/siraj/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"mgalaleldin","id":6568989,"avatar_url":"https://avatars.githubusercontent.com/u/6568989?v=3","gravatar_id":"","url":"https://api.github.com/users/mgalaleldin","html_url":"https://github.com/mgalaleldin","followers_url":"https://api.github.com/users/mgalaleldin/followers","following_url":"https://api.github.com/users/mgalaleldin/following{/other_user}","gists_url":"https://api.github.com/users/mgalaleldin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgalaleldin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgalaleldin/subscriptions","organizations_url":"https://api.github.com/users/mgalaleldin/orgs","repos_url":"https://api.github.com/users/mgalaleldin/repos","events_url":"https://api.github.com/users/mgalaleldin/events{/privacy}","received_events_url":"https://api.github.com/users/mgalaleldin/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-06-12T13:56:52Z","updated_at":"2015-06-29T00:20:13Z","closed_at":"2015-06-29T00:20:13Z","body":"SirajFilter class has a lot in common with Siraj class. In fact copy and paste started to creep into the app.\r\n\r\nWhat needs to be done is to:\r\n\r\n1. Rename Siraj class to SirajViewBase.\r\n2. Create a new class Siraj that inherits from SirajViewBase and override functionality as needed.\r\n3. Change SirajFilter to inherit from SirajViewBase and override functionality as needed.\r\n\r\nThis way functionality written into  SirajViewBase can be reused/disabled between different views."}}