MohaStranger / sheel-ma3aya

Automatically exported from code.google.com/p/sheel-ma3aya
0 stars 0 forks source link

Search stories+ My Offers story (Refactoring of adapters for implementing differences only) #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
================
User story
================

================
Task
================
making adapters customaizable easily for reusing of swiping list 
implementations to show different data where the common parts are taken and 
only the different parts are implemented

Hossam is CCed to fill the methods responsible for the differences after the 
structure is laid out for showing My Offers view

Original issue reported on code.google.com by passant....@gmail.com on 22 Dec 2011 at 5:04

GoogleCodeExporter commented 9 years ago

Original comment by passant....@gmail.com on 22 Dec 2011 at 5:05

GoogleCodeExporter commented 9 years ago

Original comment by passant....@gmail.com on 22 Dec 2011 at 5:06

GoogleCodeExporter commented 9 years ago
Seperation between views as parent and child is done

Remaining:
1) handling the seperation of buttons actions
2) connection that chooses the mode automatically from the swyper

Original comment by passant....@gmail.com on 23 Dec 2011 at 1:10

GoogleCodeExporter commented 9 years ago

1-

 The Null exception fixed el 7amdollah.. there were 2 nasty offers in the DB was making the android go crazy :(
2-

 up2head and try yourself, you dun need to hardcode anything

3-

 I have reached that I can call the child method after the parent using the receiver, but, still clueless about sthg.. 3ashan now I have an updated confirmation (offer + userOfferOwner + userOther +  .. what should I do then) .. ur asking for a list of categories.. i cannot provide it right away...check my "XXX" in the class

4-
You can use sheelma3ya account.. I made some offers for you to test using ur 
trick ;)

Original comment by hossam.a...@gmail.com on 23 Dec 2011 at 3:29

GoogleCodeExporter commented 9 years ago
Currently buttons actions are handled separately customized + list adapters and 
inflaters connections are customized automatically

REMAINING:

Button text changed according to mode -> ME but later
Logic of edit/delete offer -> Ahmad (A7mad please open class 
MyOffersInflateListener and fill the corresponding methods as indicated in the 
comments to integrate your things)
Customizing the view in MyOffersInflater -> Hossam

Original comment by passant....@gmail.com on 23 Dec 2011 at 5:25

GoogleCodeExporter commented 9 years ago
Stated the customizing of the UI.

Original comment by hossam.a...@gmail.com on 24 Dec 2011 at 3:59

GoogleCodeExporter commented 9 years ago
My task is done
The buttons names are currently handled by ahmad since he implemented an action 
bar instead of our normal buttons

Original comment by passant....@gmail.com on 25 Dec 2011 at 9:30