← Back to all blogs

Posts tagged with 'xuni'

Introduction to Android testing using Mockito and Espresso

Unit testing is essential to expediting your development time and minimizing regression issues that reach QA or even production. In this article, we'll examine how to utilize Mockito, Robolectric to expedite various aspects of unit testing. Outside of unit tests it's important to also test the UI to assert current state after a sequence of simulated user gestures or input utilizing Espresso. Finally, we'll cover how to maximize our code reuse for our Espresso tests by adhering to Jake Wharton's Robot Pattern.

Getting Started with Xuni iOS and Xcode

In this blog we'll walk through getting started using Xuni iOS in Xcode, from downloading Xuni to building your first iOS app.

Getting Started with Xuni Android

Xuni Android includes controls for Android java development. In this blog post I’ll walk you through getting started using Xuni Android from downloading to building an Android app.

Dependency Inversion using Dagger2

In this article we'll take a look at the concept of dependency injection, how it can improve your code, and using the Dagger2 framework to implement dependency injection into your Android code.

How to create handwritten annotations for Xuni iOS FlexChart

Several years back I remember talking to many other iOS users about popular and practical apps. I remember one of the most popular apps was a PDF annotation app that allowed you to input your own free hand annotations. Since then I’ve always considered that, on some level, people still want to have the ability to interact with digital data in much the same way they interact with printed materials. Writing your own free hand notes and annotations is sometimes the most natural way to interact with data. In this blog we’ll examine how you can add the ability to write your own free hand notes and annotations to a FlexChart.

Exploring Realm on Android

Realm is the newest kid on the block regarding mobile databases. Realm is that it is not an ORM (Object Relational Mapping) built on top of SQLite but rather it's own persistence engine. This article is an exploration of why I chose it for the DebugRank app.

How to Implement a Long Press Gesture for Xuni FlexGrid iOS

This article examines how you can use a UILongPressGestureRecognizer to add a long press gesture to a UIView derived control such as FlexGrid. Using a long press gesture, we'll add a "peeking" function to the row details sections.

Applying MVP in Android

This article covers how I utilized MVP in the architecture of the DebugRank app. First I’ll cover what MVP is at a high level, then I’ll provide some code snippets of what each layer looks like in Android. Afterwards I’ll cover the use cases, who, what, and when to use MVP, and finally some Q&A.

DebugRank: HackerRank for Debugging

HackerRank is the go to tool for enhancing algorithm skills. It's a website that allows you to perform coding exercises with any popular programming language at varying levels of difficulty. But what if you want to improve your code review and debugging skills? This is where DebugRank comes into play, a native Android app built to challenge your ability to find and fix bugs in existing code. DebugRank gamifies debugging code by giving you a time limit to add that extra challenge.

Android Charts for the Enterprise

Visualize your data in a wide span of Cartesian chart types including bar, column, area, line, spline, scatter, bubble, high-low-open-close (HLOC) and candle. In this blog post I’ll show you how you can customize FlexChart to fit your charting requirements.

Roadmap Update - What’s Planned for 2016

Xuni has three major releases each year and the next one (2016 v2) will be happening on July 13th 2016. Between each major release we also schedule at least one service update that includes bug fixes and minor improvements. Below is a rundown of what you can expect coming soon in Xuni. All planned features are for iOS, Android and the Xamarin Platform unless otherwise noted.

How to optimize your iOS Apps with Debouncing

Improving app performance is a key concern for all app developers, especially when it comes to the UI. A user can enter a continuous stream of input as they type, resize, or scroll through your app. If any of these actions feel sluggish you’ll likely hear complaints and lose users. Expensive handlers for these actions can bog your app down and make it feel unresponsive. Debouncing minimizes this problem by limiting how often a function can fire and keeping your app responsive.

Making the Xuni FlexGrid Adaptive

When developing mobile apps, you should keep in mind that some users will view your app on a tiny phone and others on a larger tablet. FlexGrid introduces unique challenges for good mobile design. In this blog post I discuss two features that help make adaptive FlexGrid apps: star-sizing and row details.

Xuni FlexChart Annotations Deep Dive

Chart annotations are a great way to call attention to specific details in your charts. As a new addition to FlexChart in Xuni 2016v1, we've introduced a number of different annotation types and configuration options. In this article, we'll highlight these different configuration options, and provide a few common use cases for chart annotations.

How to Use the Xuni iOS Calendar with EventKit

The new calendar control in the 2016v1 release of Xuni enables a new way of visualizing time related data for iOS users. A major point of interest is using the Xuni calendar control with the calendar data stored on your iOS device. Apple provides an API for accessing this built-in calendar data (such as events and reminders) called EventKit. In this article we'll examine both how to populate the calendar control with local data, as well as how to save new events using EventKit.

Using Xuni Block Based Events for iOS Event Handling

Last week, we touched on some changes to the Xuni iOS control delegates. We've also added a different mechanism altogether for triggering event based behavior without the use of delegates. In this article we'll cover how to use this new style of delegate-less iOS event handlers via block based events.

A Deep Look at the New Xuni Calendar Control

The Xuni Calendar control provides multiple date selection with month and year views. It includes built-in navigation, animation and globalization so you can get up and running very quickly. You can customize the appearance and the selection behavior to fit your requirements.

Changes to Xuni Control Delegates and C# Event Signatures

The new 2016v1 release has made a few changes to the native iOS control delegates to provide some improved behaviors when dealing with multiple instantiations of the same control type, and to give the controls better support for the C# style events available in Xamarin.iOS.

Xuni 2016 v1 Release – See What’s New

The first Xuni release of 2016 is finally here! We've packed a lot into this release including a new calendar control that fills a major gap in the standard toolkits, as well as several major enhancements for FlexGrid and FlexChart. Each feature we've added delivers new functionality and helps improve the mobile experience in some way. And as always, everything new in this release is supported in all the Xuni platforms: iOS, Android, Xamarin.Forms, Xamarin.Android, and Xamarin.iOS.

Testing Some of Android N Developer Preview's New Features

In the past month, Google released a developer preview for the next big update to the Android OS. Even in this early state, Android N has some interesting features worth highlighting. I recently downloaded the preview along with the updated development tools to take take a look at what's changed.