#379
- /res/layout/start_now.xml: text size is now taken from dimens.xml
- /res/values/dimens.xml: added start now layout text sizes
- /res/values-ru/dimens.xml: added custom start now sizes for ru locale
- /res/values-ru/strings.xml: changed start now text so it should fit
the image bounds
#362 #380
- AccountFragment: now it implements SubscriptionPurchasedHandler and
will be refreshed once subscription purchase is done
- GalleryFragment, HomeFragment: added super.onCreateView call to
overridden method
- GalleryFragmen, HomeFragmentt: Now the initial fragment refresh is
performed in onViewCreated method. In future it can be replaced by
refreshImmediatelyOrScheduleIfNecessary method call to avoid data load
for inactive page
- GalleryFragment: refreshOnPageActivated field moved to parent class
- GalleryFragment, HomeFragment: added mAdapter null check to the
onDestroyView
- GalleryFragment: some common code is moved from pageActivated method
to the same parent method
- GalleryFragment, HomeFragment: now it implements PhotoUploadedHandler
and implements its method photoUploaded
- MainActivity: now it implements SubscriptionPurchasedHandler and
implements its method subscriptionPurchased which sends event to
AccountFragment if it is present
- MainActivity: added registering of subscription purchased event
broadcast receiver to the onCreate method
- MainActivity: now photUploaded method sends event directly to
fragments independently of what is active now
- NavigationHandlerFragment: added getAccountFragment method
- NavigationHandlerFragment.FragmentAdapter: setPrimaryItem method now
fires pageActivated event for first selectedfragment also
- CommonFragment: added isActivePage field
- CommonRefreshableFragmentWithImageWorker: added refreshOnPageActivated
field
- CommonRefreshableFragmentWithImageWorker: added overridden method
onCreateView, pageActivated
- CommonRefreshableFragmentWithImageWorker: added new method
refreshImmediatelyOrScheduleIfNecessary
- PurchaseControllerUtils: added
- PurchaseController: now it sends subscription purchased broadcast
event after successful purchase verification